pub struct UrlAnnotation {
pub type: String,
pub source: UrlAnnotationSource,
}Expand description
Annotation that references a URL.
Fields§
§type: StringType discriminator that is always url for this annotation.
source: UrlAnnotationSourceURL referenced by the annotation.
Trait Implementations§
Source§impl Clone for UrlAnnotation
impl Clone for UrlAnnotation
Source§fn clone(&self) -> UrlAnnotation
fn clone(&self) -> UrlAnnotation
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 UrlAnnotation
impl Debug for UrlAnnotation
Source§impl<'de> Deserialize<'de> for UrlAnnotation
impl<'de> Deserialize<'de> for UrlAnnotation
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 UrlAnnotation
impl PartialEq for UrlAnnotation
Source§impl Serialize for UrlAnnotation
impl Serialize for UrlAnnotation
impl StructuralPartialEq for UrlAnnotation
Auto Trait Implementations§
impl Freeze for UrlAnnotation
impl RefUnwindSafe for UrlAnnotation
impl Send for UrlAnnotation
impl Sync for UrlAnnotation
impl Unpin for UrlAnnotation
impl UnwindSafe for UrlAnnotation
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