pub struct SelfRemoveBody {
pub disposition: Option<String>,
}Expand description
Body of the self-remove message. did comes from the DIDComm
from field — the caller’s authcrypt sender authenticates
them. Disposition optional; falls back to the Member’s stored
departure_preference and then to PolicyDefault→Tombstone.
Fields§
§disposition: Option<String>Absent when unset, never null. vtc/members/self-remove/0.1 types
disposition as a "string" constrained to the disposition enum, so a
serialized None is rejected as malformed instead of falling through to
the stored preference the way an omitted member does.
Trait Implementations§
Source§impl Clone for SelfRemoveBody
impl Clone for SelfRemoveBody
Source§fn clone(&self) -> SelfRemoveBody
fn clone(&self) -> SelfRemoveBody
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 SelfRemoveBody
impl Debug for SelfRemoveBody
Source§impl Default for SelfRemoveBody
impl Default for SelfRemoveBody
Source§fn default() -> SelfRemoveBody
fn default() -> SelfRemoveBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SelfRemoveBody
impl<'de> Deserialize<'de> for SelfRemoveBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SelfRemoveBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SelfRemoveBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SelfRemoveBody
impl Serialize for SelfRemoveBody
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SelfRemoveBody
impl RefUnwindSafe for SelfRemoveBody
impl Send for SelfRemoveBody
impl Sync for SelfRemoveBody
impl Unpin for SelfRemoveBody
impl UnsafeUnpin for SelfRemoveBody
impl UnwindSafe for SelfRemoveBody
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