pub struct SourceUrlPart {
pub source_id: String,
pub url: String,
pub title: Option<String>,
pub provider_metadata: Option<ProviderMetadata>,
}Expand description
URL source reference
References a URL as a source for the response.
Fields§
§source_id: String§url: String§title: Option<String>§provider_metadata: Option<ProviderMetadata>Trait Implementations§
Source§impl Clone for SourceUrlPart
impl Clone for SourceUrlPart
Source§fn clone(&self) -> SourceUrlPart
fn clone(&self) -> SourceUrlPart
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 SourceUrlPart
impl Debug for SourceUrlPart
Source§impl<'de> Deserialize<'de> for SourceUrlPart
impl<'de> Deserialize<'de> for SourceUrlPart
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
Auto Trait Implementations§
impl Freeze for SourceUrlPart
impl RefUnwindSafe for SourceUrlPart
impl Send for SourceUrlPart
impl Sync for SourceUrlPart
impl Unpin for SourceUrlPart
impl UnwindSafe for SourceUrlPart
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