pub struct UrlAnnotationSource {
pub type: String,
pub url: String,
}Expand description
URL backing an annotation entry.
Fields§
§type: StringType discriminator that is always url.
url: StringURL referenced by the annotation.
Trait Implementations§
Source§impl Clone for UrlAnnotationSource
impl Clone for UrlAnnotationSource
Source§fn clone(&self) -> UrlAnnotationSource
fn clone(&self) -> UrlAnnotationSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UrlAnnotationSource
impl Debug for UrlAnnotationSource
Source§impl<'de> Deserialize<'de> for UrlAnnotationSource
impl<'de> Deserialize<'de> for UrlAnnotationSource
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 PartialEq for UrlAnnotationSource
impl PartialEq for UrlAnnotationSource
Source§impl Serialize for UrlAnnotationSource
impl Serialize for UrlAnnotationSource
impl StructuralPartialEq for UrlAnnotationSource
Auto Trait Implementations§
impl Freeze for UrlAnnotationSource
impl RefUnwindSafe for UrlAnnotationSource
impl Send for UrlAnnotationSource
impl Sync for UrlAnnotationSource
impl Unpin for UrlAnnotationSource
impl UnwindSafe for UrlAnnotationSource
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