pub struct AttributionSourceIdBuilder(/* private fields */);Expand description
Builder for AttributionSourceId.
Implementations§
Source§impl AttributionSourceIdBuilder
impl AttributionSourceIdBuilder
pub fn grounding_passage(self, value: impl Into<GroundingPassageId>) -> Self
pub fn semantic_retriever_chunk( self, value: impl Into<SemanticRetrieverChunk>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> AttributionSourceId
pub fn build(self) -> AttributionSourceId
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for AttributionSourceIdBuilder
impl RefUnwindSafe for AttributionSourceIdBuilder
impl Send for AttributionSourceIdBuilder
impl Sync for AttributionSourceIdBuilder
impl Unpin for AttributionSourceIdBuilder
impl UnsafeUnpin for AttributionSourceIdBuilder
impl UnwindSafe for AttributionSourceIdBuilder
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