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