pub struct Delete {
pub kind: DeleteType,
pub delete_props: DeleteProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}
Expand description
Indicates that the actor has deleted the object.
If specified, the origin indicates the context from which the object was deleted.
Fields§
§kind: DeleteType
§delete_props: DeleteProperties
Adds all valid delete properties to this struct
object_props: ObjectProperties
Adds all valid object properties to this struct
activity_props: ActivityProperties
Adds all valid activity properties to this struct
Implementations§
Trait Implementations§
Source§impl AsMut<ActivityProperties> for Delete
impl AsMut<ActivityProperties> for Delete
Source§fn as_mut(&mut self) -> &mut ActivityProperties
fn as_mut(&mut self) -> &mut ActivityProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ActorAndObjectOptOriginProperties> for Delete
impl AsMut<ActorAndObjectOptOriginProperties> for Delete
Source§fn as_mut(&mut self) -> &mut DeleteProperties
fn as_mut(&mut self) -> &mut DeleteProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ObjectProperties> for Delete
impl AsMut<ObjectProperties> for Delete
Source§fn as_mut(&mut self) -> &mut ObjectProperties
fn as_mut(&mut self) -> &mut ObjectProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ActivityProperties> for Delete
impl AsRef<ActivityProperties> for Delete
Source§fn as_ref(&self) -> &ActivityProperties
fn as_ref(&self) -> &ActivityProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ActorAndObjectOptOriginProperties> for Delete
impl AsRef<ActorAndObjectOptOriginProperties> for Delete
Source§fn as_ref(&self) -> &DeleteProperties
fn as_ref(&self) -> &DeleteProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ObjectProperties> for Delete
impl AsRef<ObjectProperties> for Delete
Source§fn as_ref(&self) -> &ObjectProperties
fn as_ref(&self) -> &ObjectProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'de> Deserialize<'de> for Delete
impl<'de> Deserialize<'de> for Delete
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 TryFrom<Delete> for ActivityBox
impl TryFrom<Delete> for ActivityBox
impl Activity for Delete
impl Base for Delete
impl Object for Delete
Auto Trait Implementations§
impl Freeze for Delete
impl RefUnwindSafe for Delete
impl Send for Delete
impl Sync for Delete
impl Unpin for Delete
impl UnwindSafe for Delete
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