pub struct RegistrationExpectation {
pub purpose: Purpose,
pub community_id: CommunityId,
pub host_id: HostId,
pub host_challenge: Challenge,
}Expand description
What the host expects of a registration: the command’s fields and the connection’s current challenge (§4.4).
Fields§
§purpose: PurposeThe command’s purpose.
community_id: CommunityIdThe command’s community.
host_id: HostIdThis host.
host_challenge: ChallengeThe connection’s current, unused challenge.
Trait Implementations§
Source§impl Clone for RegistrationExpectation
impl Clone for RegistrationExpectation
Source§fn clone(&self) -> RegistrationExpectation
fn clone(&self) -> RegistrationExpectation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegistrationExpectation
impl Debug for RegistrationExpectation
impl Eq for RegistrationExpectation
Source§impl PartialEq for RegistrationExpectation
impl PartialEq for RegistrationExpectation
impl StructuralPartialEq for RegistrationExpectation
Auto Trait Implementations§
impl Freeze for RegistrationExpectation
impl RefUnwindSafe for RegistrationExpectation
impl Send for RegistrationExpectation
impl Sync for RegistrationExpectation
impl Unpin for RegistrationExpectation
impl UnsafeUnpin for RegistrationExpectation
impl UnwindSafe for RegistrationExpectation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more