#[non_exhaustive]pub struct ResponseContentBlockCitation {
pub type_: ResponseContentBlockCitationType,
pub cited_text: String,
pub document_index: i64,
pub document_title: Option<Option<String>>,
pub file_id: Option<Option<String>>,
pub end_block_index: i64,
pub start_block_index: i64,
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.type_: ResponseContentBlockCitationType§cited_text: String§document_index: i64§document_title: Option<Option<String>>§file_id: Option<Option<String>>§end_block_index: i64§start_block_index: i64§rest: RestImplementations§
Source§impl ResponseContentBlockCitation
impl ResponseContentBlockCitation
Sourcepub fn builder(
type_: ResponseContentBlockCitationType,
cited_text: String,
document_index: i64,
end_block_index: i64,
start_block_index: i64,
) -> ResponseContentBlockCitationBuilder
pub fn builder( type_: ResponseContentBlockCitationType, cited_text: String, document_index: i64, end_block_index: i64, start_block_index: i64, ) -> ResponseContentBlockCitationBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ResponseContentBlockCitation
impl Clone for ResponseContentBlockCitation
Source§impl Debug for ResponseContentBlockCitation
impl Debug for ResponseContentBlockCitation
Source§impl DeclaredFields for ResponseContentBlockCitation
impl DeclaredFields for ResponseContentBlockCitation
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ResponseContentBlockCitation
impl<'de> Deserialize<'de> for ResponseContentBlockCitation
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
impl Eq for ResponseContentBlockCitation
impl StructuralPartialEq for ResponseContentBlockCitation
Auto Trait Implementations§
impl Freeze for ResponseContentBlockCitation
impl RefUnwindSafe for ResponseContentBlockCitation
impl Send for ResponseContentBlockCitation
impl Sync for ResponseContentBlockCitation
impl Unpin for ResponseContentBlockCitation
impl UnsafeUnpin for ResponseContentBlockCitation
impl UnwindSafe for ResponseContentBlockCitation
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