Trait IsDefined

Source
pub trait IsDefined {
    // Required method
    fn is_defined(&self) -> bool;
}
Expand description

Indicate if a key is not zero. This trait must be implemented on keys used by the UpsertMut when a key is flagged as Identity (MS SQL). In such a case, the provider will check that property to determine if the entity must be inserted or updated.

Required Methods§

Source

fn is_defined(&self) -> bool

Implementations on Foreign Types§

Source§

impl IsDefined for i8

Source§

impl IsDefined for i16

Source§

impl IsDefined for i32

Source§

impl IsDefined for i64

Source§

impl IsDefined for isize

Source§

impl IsDefined for u8

Source§

impl IsDefined for u16

Source§

impl IsDefined for u32

Source§

impl IsDefined for u64

Source§

impl IsDefined for usize

Source§

impl<T> IsDefined for Option<T>
where T: IsDefined,

Implementors§