#[non_exhaustive]pub struct CitationMetadata {
pub citations: Vec<Citation>,
/* private fields */
}Available on crate feature
prediction-service only.Expand description
A collection of source attributions for a piece of content.
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.citations: Vec<Citation>Output only. List of citations.
Implementations§
Source§impl CitationMetadata
impl CitationMetadata
pub fn new() -> Self
Sourcepub fn set_citations<T, V>(self, v: T) -> Self
pub fn set_citations<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for CitationMetadata
impl Clone for CitationMetadata
Source§fn clone(&self) -> CitationMetadata
fn clone(&self) -> CitationMetadata
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 CitationMetadata
impl Debug for CitationMetadata
Source§impl Default for CitationMetadata
impl Default for CitationMetadata
Source§fn default() -> CitationMetadata
fn default() -> CitationMetadata
Returns the “default value” for a type. Read more
Source§impl Message for CitationMetadata
impl Message for CitationMetadata
Source§impl PartialEq for CitationMetadata
impl PartialEq for CitationMetadata
impl StructuralPartialEq for CitationMetadata
Auto Trait Implementations§
impl Freeze for CitationMetadata
impl RefUnwindSafe for CitationMetadata
impl Send for CitationMetadata
impl Sync for CitationMetadata
impl Unpin for CitationMetadata
impl UnwindSafe for CitationMetadata
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