Enum async_gemini::models::generate_content::response::BlockReason
source · pub enum BlockReason {
Unspecified,
Safety,
Other,
}Variants§
Trait Implementations§
source§impl Clone for BlockReason
impl Clone for BlockReason
source§fn clone(&self) -> BlockReason
fn clone(&self) -> BlockReason
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 BlockReason
impl Debug for BlockReason
source§impl<'de> Deserialize<'de> for BlockReason
impl<'de> Deserialize<'de> for BlockReason
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 BlockReason
impl PartialEq for BlockReason
source§fn eq(&self, other: &BlockReason) -> bool
fn eq(&self, other: &BlockReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BlockReason
impl Serialize for BlockReason
impl Eq for BlockReason
impl StructuralPartialEq for BlockReason
Auto Trait Implementations§
impl Freeze for BlockReason
impl RefUnwindSafe for BlockReason
impl Send for BlockReason
impl Sync for BlockReason
impl Unpin for BlockReason
impl UnwindSafe for BlockReason
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