pub struct EnumBoolValue {
pub value: bool,
}Expand description
One value in a boolean-typed enum. OAS / JSON Schema does not define
per-value documentation; see EnumStringValue.
Fields§
§value: boolTrait Implementations§
Source§impl Clone for EnumBoolValue
impl Clone for EnumBoolValue
Source§fn clone(&self) -> EnumBoolValue
fn clone(&self) -> EnumBoolValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnumBoolValue
impl Debug for EnumBoolValue
Source§impl<'de> Deserialize<'de> for EnumBoolValue
impl<'de> Deserialize<'de> for EnumBoolValue
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 EnumBoolValue
impl PartialEq for EnumBoolValue
Source§fn eq(&self, other: &EnumBoolValue) -> bool
fn eq(&self, other: &EnumBoolValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnumBoolValue
impl Serialize for EnumBoolValue
impl StructuralPartialEq for EnumBoolValue
Auto Trait Implementations§
impl Freeze for EnumBoolValue
impl RefUnwindSafe for EnumBoolValue
impl Send for EnumBoolValue
impl Sync for EnumBoolValue
impl Unpin for EnumBoolValue
impl UnsafeUnpin for EnumBoolValue
impl UnwindSafe for EnumBoolValue
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