pub(crate) enum Link {
Subscribe(String),
}Expand description
Links associated with the OStatus specification.
Variants§
Trait Implementations§
Source§impl Link for Link
impl Link for Link
Source§fn rel(&self) -> String
fn rel(&self) -> String
The value of the
rel member is a string that is either a URI or
a registered relation type (see RFC 5988).Source§fn media_type(&self) -> Option<String>
fn media_type(&self) -> Option<String>
The value of the
media_type member is a string that indicates
the media type of the target resource (see RFC 6838).impl Eq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.