pub struct Reject {
pub kind: RejectType,
pub reject_props: RejectProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Expand description
Indicates that the actor is rejecting the object.
The target and origin typically have no defined meaning.
Fields§
§kind: RejectType§reject_props: RejectPropertiesAdds all valid reject properties to this struct
object_props: ObjectPropertiesAdds all valid object properties to this struct
activity_props: ActivityPropertiesAdds all valid activity properties to this struct
Implementations§
Trait Implementations§
Source§impl AsMut<ActivityProperties> for Reject
impl AsMut<ActivityProperties> for Reject
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<ActorAndObjectProperties> for Reject
impl AsMut<ActorAndObjectProperties> for Reject
Source§fn as_mut(&mut self) -> &mut RejectProperties
fn as_mut(&mut self) -> &mut RejectProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ObjectProperties> for Reject
impl AsMut<ObjectProperties> for Reject
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 Reject
impl AsRef<ActivityProperties> for Reject
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<ActorAndObjectProperties> for Reject
impl AsRef<ActorAndObjectProperties> for Reject
Source§fn as_ref(&self) -> &RejectProperties
fn as_ref(&self) -> &RejectProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ObjectProperties> for Reject
impl AsRef<ObjectProperties> for Reject
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 Reject
impl<'de> Deserialize<'de> for Reject
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<Reject> for ActivityBox
impl TryFrom<Reject> for ActivityBox
impl Activity for Reject
impl Base for Reject
impl Object for Reject
Auto Trait Implementations§
impl Freeze for Reject
impl RefUnwindSafe for Reject
impl Send for Reject
impl Sync for Reject
impl Unpin for Reject
impl UnsafeUnpin for Reject
impl UnwindSafe for Reject
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