pub enum PartOf {
None,
Object(Box<Object>),
Link(Box<Link>),
}Variants§
Trait Implementations§
Source§impl ActivitypubProperty for PartOf
impl ActivitypubProperty for PartOf
Source§impl<'de> Deserialize<'de> for PartOf
impl<'de> Deserialize<'de> for PartOf
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 PartOf
impl RefUnwindSafe for PartOf
impl Send for PartOf
impl Sync for PartOf
impl Unpin for PartOf
impl UnwindSafe for PartOf
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