Struct notedealer::http_api::CanonicalServerUrl
source · [−]pub struct CanonicalServerUrl(pub String);Expand description
A string containing the base url for the running server. This is the url used in ActivityPub id’s created by this server.
Tuple Fields
0: StringImplementations
Trait Implementations
sourceimpl Clone for CanonicalServerUrl
impl Clone for CanonicalServerUrl
sourcefn clone(&self) -> CanonicalServerUrl
fn clone(&self) -> CanonicalServerUrl
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 moreAuto Trait Implementations
impl RefUnwindSafe for CanonicalServerUrl
impl Send for CanonicalServerUrl
impl Sync for CanonicalServerUrl
impl Unpin for CanonicalServerUrl
impl UnwindSafe for CanonicalServerUrl
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