pub struct Hashtag {
pub href: Option<Iri>,
pub rels: Vec<String>,
pub media_type: Option<String>,
pub digest_multibase: Option<String>,
pub name: Text,
pub language: Option<String>,
pub height: Option<u64>,
pub width: Option<u64>,
pub previews: Vec<LinkOrObject>,
}Expand description
A specialized {@link Link} that represents an #hashtag.
The type https://www.w3.org/ns/activitystreams#Hashtag.
Fields§
§href: Option<Iri>See Link::href.
rels: Vec<String>See Link::rels.
media_type: Option<String>See Link::media_type.
digest_multibase: Option<String>§name: TextSee Link::name.
language: Option<String>See Link::language.
height: Option<u64>See Link::height.
width: Option<u64>See Link::width.
previews: Vec<LinkOrObject>See Link::previews.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hashtag
impl<'de> Deserialize<'de> for Hashtag
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Hashtag
Auto Trait Implementations§
impl Freeze for Hashtag
impl RefUnwindSafe for Hashtag
impl Send for Hashtag
impl Sync for Hashtag
impl Unpin for Hashtag
impl UnsafeUnpin for Hashtag
impl UnwindSafe for Hashtag
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