#[non_exhaustive]pub struct UrlContextMetadata {
pub url_metadata: Vec<UrlMetadata>,
pub extra: ExtraFields,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url_metadata: Vec<UrlMetadata>§extra: ExtraFieldsImplementations§
Trait Implementations§
Source§impl Clone for UrlContextMetadata
impl Clone for UrlContextMetadata
Source§fn clone(&self) -> UrlContextMetadata
fn clone(&self) -> UrlContextMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UrlContextMetadata
impl Debug for UrlContextMetadata
Source§impl Default for UrlContextMetadata
impl Default for UrlContextMetadata
Source§fn default() -> UrlContextMetadata
fn default() -> UrlContextMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UrlContextMetadata
impl<'de> Deserialize<'de> for UrlContextMetadata
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 UrlContextMetadata
impl PartialEq for UrlContextMetadata
Source§impl Serialize for UrlContextMetadata
impl Serialize for UrlContextMetadata
impl StructuralPartialEq for UrlContextMetadata
Auto Trait Implementations§
impl Freeze for UrlContextMetadata
impl RefUnwindSafe for UrlContextMetadata
impl Send for UrlContextMetadata
impl Sync for UrlContextMetadata
impl Unpin for UrlContextMetadata
impl UnsafeUnpin for UrlContextMetadata
impl UnwindSafe for UrlContextMetadata
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