pub struct Announce {
pub kind: AnnounceType,
pub announce_props: AnnounceProperties,
pub object_props: ObjectProperties,
pub activity_props: ActivityProperties,
}Expand description
Indicates that the actor is calling the target’s attention the object.
The origin typically has no defined meaning.
Fields§
§kind: AnnounceType§announce_props: AnnouncePropertiesAdds all valid announce 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 Announce
impl AsMut<ActivityProperties> for Announce
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<ActorAndObjectOptTargetProperties> for Announce
impl AsMut<ActorAndObjectOptTargetProperties> for Announce
Source§fn as_mut(&mut self) -> &mut AnnounceProperties
fn as_mut(&mut self) -> &mut AnnounceProperties
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ObjectProperties> for Announce
impl AsMut<ObjectProperties> for Announce
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 Announce
impl AsRef<ActivityProperties> for Announce
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<ActorAndObjectOptTargetProperties> for Announce
impl AsRef<ActorAndObjectOptTargetProperties> for Announce
Source§fn as_ref(&self) -> &AnnounceProperties
fn as_ref(&self) -> &AnnounceProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ObjectProperties> for Announce
impl AsRef<ObjectProperties> for Announce
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 Announce
impl<'de> Deserialize<'de> for Announce
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<Announce> for ActivityBox
impl TryFrom<Announce> for ActivityBox
impl Activity for Announce
impl Base for Announce
impl Object for Announce
Auto Trait Implementations§
impl Freeze for Announce
impl RefUnwindSafe for Announce
impl Send for Announce
impl Sync for Announce
impl Unpin for Announce
impl UnsafeUnpin for Announce
impl UnwindSafe for Announce
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