Struct async_gemini::models::generate_content::request::SafetySetting
source · pub struct SafetySetting { /* private fields */ }Trait Implementations§
source§impl Clone for SafetySetting
impl Clone for SafetySetting
source§fn clone(&self) -> SafetySetting
fn clone(&self) -> SafetySetting
Returns a copy 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 SafetySetting
impl Debug for SafetySetting
source§impl<'de> Deserialize<'de> for SafetySetting
impl<'de> Deserialize<'de> for SafetySetting
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 SafetySetting
impl PartialEq for SafetySetting
source§fn eq(&self, other: &SafetySetting) -> bool
fn eq(&self, other: &SafetySetting) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SafetySetting
impl Serialize for SafetySetting
impl StructuralPartialEq for SafetySetting
Auto Trait Implementations§
impl Freeze for SafetySetting
impl RefUnwindSafe for SafetySetting
impl Send for SafetySetting
impl Sync for SafetySetting
impl Unpin for SafetySetting
impl UnwindSafe for SafetySetting
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