pub struct MessageIdentity {
pub sub: String,
pub name: Option<String>,
pub kind: IdentityType,
}Expand description
Identity of the entity that produced a message.
Fields§
§sub: StringZeroID WIMSE URI.
name: Option<String>§kind: IdentityTypeTrait Implementations§
Source§impl Clone for MessageIdentity
impl Clone for MessageIdentity
Source§fn clone(&self) -> MessageIdentity
fn clone(&self) -> MessageIdentity
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 MessageIdentity
impl Debug for MessageIdentity
Source§impl<'de> Deserialize<'de> for MessageIdentity
impl<'de> Deserialize<'de> for MessageIdentity
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
Auto Trait Implementations§
impl Freeze for MessageIdentity
impl RefUnwindSafe for MessageIdentity
impl Send for MessageIdentity
impl Sync for MessageIdentity
impl Unpin for MessageIdentity
impl UnsafeUnpin for MessageIdentity
impl UnwindSafe for MessageIdentity
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