pub struct SimpleObject {
pub id: Url,
pub kind: String,
pub to: Vec<Url>,
pub cc: Vec<Url>,
pub rest: Map<String, Value>,
}Fields§
§id: Url§kind: String§to: Vec<Url>§cc: Vec<Url>§rest: Map<String, Value>Trait Implementations§
Source§impl Clone for SimpleObject
impl Clone for SimpleObject
Source§fn clone(&self) -> SimpleObject
fn clone(&self) -> SimpleObject
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 SimpleObject
impl Debug for SimpleObject
Source§impl DeliverableObject for SimpleObject
impl DeliverableObject for SimpleObject
Source§fn has_named_recipient(&self, actor_id: &Url) -> bool
fn has_named_recipient(&self, actor_id: &Url) -> bool
Determine if a given actor is in the list of recipients for this object
Source§impl<'de> Deserialize<'de> for SimpleObject
impl<'de> Deserialize<'de> for SimpleObject
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 Object for SimpleObject
impl Object for SimpleObject
Auto Trait Implementations§
impl Freeze for SimpleObject
impl RefUnwindSafe for SimpleObject
impl Send for SimpleObject
impl Sync for SimpleObject
impl Unpin for SimpleObject
impl UnsafeUnpin for SimpleObject
impl UnwindSafe for SimpleObject
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