pub enum Nullability {
NotNull,
Nullable,
Unspecified,
}Expand description
引数のNULL許容性
Variants§
Trait Implementations§
Source§impl Clone for Nullability
impl Clone for Nullability
Source§fn clone(&self) -> Nullability
fn clone(&self) -> Nullability
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 Nullability
impl Debug for Nullability
Source§impl Default for Nullability
impl Default for Nullability
Source§fn default() -> Nullability
fn default() -> Nullability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Nullability
impl<'de> Deserialize<'de> for Nullability
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 Nullability
impl PartialEq for Nullability
Source§fn eq(&self, other: &Nullability) -> bool
fn eq(&self, other: &Nullability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Nullability
impl Serialize for Nullability
impl Copy for Nullability
impl Eq for Nullability
impl StructuralPartialEq for Nullability
Auto Trait Implementations§
impl Freeze for Nullability
impl RefUnwindSafe for Nullability
impl Send for Nullability
impl Sync for Nullability
impl Unpin for Nullability
impl UnsafeUnpin for Nullability
impl UnwindSafe for Nullability
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