pub enum JoinAnswer {
Approved {
campaign: Campaign,
server_key: PublicKey,
cert: Box<SignedCert>,
},
Declined,
}Expand description
The DM’s answer.
Variants§
Trait Implementations§
Source§impl Clone for JoinAnswer
impl Clone for JoinAnswer
Source§fn clone(&self) -> JoinAnswer
fn clone(&self) -> JoinAnswer
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 ComposeSchema for JoinAnswer
impl ComposeSchema for JoinAnswer
Source§impl Debug for JoinAnswer
impl Debug for JoinAnswer
Source§impl<'de> Deserialize<'de> for JoinAnswer
impl<'de> Deserialize<'de> for JoinAnswer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JoinAnswer
impl PartialEq for JoinAnswer
Source§fn eq(&self, other: &JoinAnswer) -> bool
fn eq(&self, other: &JoinAnswer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JoinAnswer
impl Serialize for JoinAnswer
Source§impl ToSchema for JoinAnswer
impl ToSchema for JoinAnswer
impl Eq for JoinAnswer
impl StructuralPartialEq for JoinAnswer
Auto Trait Implementations§
impl Freeze for JoinAnswer
impl RefUnwindSafe for JoinAnswer
impl Send for JoinAnswer
impl Sync for JoinAnswer
impl Unpin for JoinAnswer
impl UnsafeUnpin for JoinAnswer
impl UnwindSafe for JoinAnswer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.