#[non_exhaustive]pub struct GroundingAttribution {
pub source_id: Option<AttributionSourceId>,
pub content: Option<Content>,
pub rest: Rest,
}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.source_id: Option<AttributionSourceId>§content: Option<Content>§rest: RestImplementations§
Source§impl GroundingAttribution
impl GroundingAttribution
Sourcepub fn builder() -> GroundingAttributionBuilder
pub fn builder() -> GroundingAttributionBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for GroundingAttribution
impl Clone for GroundingAttribution
Source§impl Debug for GroundingAttribution
impl Debug for GroundingAttribution
Source§impl DeclaredFields for GroundingAttribution
impl DeclaredFields for GroundingAttribution
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for GroundingAttribution
impl<'de> Deserialize<'de> for GroundingAttribution
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 GroundingAttribution
impl PartialEq for GroundingAttribution
Source§impl Serialize for GroundingAttribution
impl Serialize for GroundingAttribution
impl StructuralPartialEq for GroundingAttribution
Auto Trait Implementations§
impl Freeze for GroundingAttribution
impl RefUnwindSafe for GroundingAttribution
impl Send for GroundingAttribution
impl Sync for GroundingAttribution
impl Unpin for GroundingAttribution
impl UnsafeUnpin for GroundingAttribution
impl UnwindSafe for GroundingAttribution
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