Struct notedealer::activitypub::ApEndpoints
source · [−]pub struct ApEndpoints<'a> {
pub proxy_url: Option<Cow<'a, str>>,
pub oauth_authorization_endpoint: Option<Cow<'a, str>>,
pub oauth_token_endpoint: Option<Cow<'a, str>>,
pub provide_client_key: Option<Cow<'a, str>>,
pub sign_client_key: Option<Cow<'a, str>>,
pub shared_inbox: Option<Cow<'a, str>>,
}Expand description
ActivityPub-defined endpoints-structure for Actors. See the “endpoints” field under 4.1 Actor objects.
Fields
proxy_url: Option<Cow<'a, str>>oauth_token_endpoint: Option<Cow<'a, str>>provide_client_key: Option<Cow<'a, str>>sign_client_key: Option<Cow<'a, str>>Trait Implementations
sourceimpl<'a> Clone for ApEndpoints<'a>
impl<'a> Clone for ApEndpoints<'a>
sourcefn clone(&self) -> ApEndpoints<'a>
fn clone(&self) -> ApEndpoints<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'a> Debug for ApEndpoints<'a>
impl<'a> Debug for ApEndpoints<'a>
sourceimpl<'a> Default for ApEndpoints<'a>
impl<'a> Default for ApEndpoints<'a>
sourcefn default() -> ApEndpoints<'a>
fn default() -> ApEndpoints<'a>
Returns the “default value” for a type. Read more
sourceimpl<'de, 'a> Deserialize<'de> for ApEndpoints<'a>
impl<'de, 'a> Deserialize<'de> for ApEndpoints<'a>
sourcefn 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
sourceimpl<'a> Serialize for ApEndpoints<'a>
impl<'a> Serialize for ApEndpoints<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ApEndpoints<'a>
impl<'a> Send for ApEndpoints<'a>
impl<'a> Sync for ApEndpoints<'a>
impl<'a> Unpin for ApEndpoints<'a>
impl<'a> UnwindSafe for ApEndpoints<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more