pub struct GoogleContent {
pub role: Option<String>,
pub parts: Option<Vec<GooglePart>>,
}Fields§
§role: Option<String>§parts: Option<Vec<GooglePart>>Trait Implementations§
Source§impl Clone for GoogleContent
impl Clone for GoogleContent
Source§fn clone(&self) -> GoogleContent
fn clone(&self) -> GoogleContent
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 GoogleContent
impl Debug for GoogleContent
Source§impl<'de> Deserialize<'de> for GoogleContent
impl<'de> Deserialize<'de> for GoogleContent
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
Auto Trait Implementations§
impl Freeze for GoogleContent
impl RefUnwindSafe for GoogleContent
impl Send for GoogleContent
impl Sync for GoogleContent
impl Unpin for GoogleContent
impl UnsafeUnpin for GoogleContent
impl UnwindSafe for GoogleContent
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