pub struct MercuryObject {
pub id: String,
pub object_type: String,
pub display_name: Option<String>,
pub content: Option<String>,
pub encryption_key_url: Option<String>,
}Expand description
Object in a Mercury activity.
Fields§
§id: String§object_type: String§display_name: Option<String>§content: Option<String>§encryption_key_url: Option<String>Trait Implementations§
Source§impl Clone for MercuryObject
impl Clone for MercuryObject
Source§fn clone(&self) -> MercuryObject
fn clone(&self) -> MercuryObject
Returns a duplicate of the value. Read more
1.0.0 · 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 MercuryObject
impl Debug for MercuryObject
Source§impl Default for MercuryObject
impl Default for MercuryObject
Source§fn default() -> MercuryObject
fn default() -> MercuryObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MercuryObject
impl<'de> Deserialize<'de> for MercuryObject
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 MercuryObject
impl RefUnwindSafe for MercuryObject
impl Send for MercuryObject
impl Sync for MercuryObject
impl Unpin for MercuryObject
impl UnsafeUnpin for MercuryObject
impl UnwindSafe for MercuryObject
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