pub enum UpdateResult {
SUCCESS = 0,
DUPLICATED = 1,
NG_WORD = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for UpdateResult
impl Clone for UpdateResult
Source§fn clone(&self) -> UpdateResult
fn clone(&self) -> UpdateResult
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 UpdateResult
impl Debug for UpdateResult
Source§impl Default for UpdateResult
impl Default for UpdateResult
Source§impl<'de> Deserialize<'de> for UpdateResult
impl<'de> Deserialize<'de> for UpdateResult
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<'a> From<&'a str> for UpdateResult
impl<'a> From<&'a str> for UpdateResult
Source§impl From<i32> for UpdateResult
impl From<i32> for UpdateResult
Source§impl PartialEq for UpdateResult
impl PartialEq for UpdateResult
Source§impl Serialize for UpdateResult
impl Serialize for UpdateResult
impl Copy for UpdateResult
impl Eq for UpdateResult
impl StructuralPartialEq for UpdateResult
Auto Trait Implementations§
impl Freeze for UpdateResult
impl RefUnwindSafe for UpdateResult
impl Send for UpdateResult
impl Sync for UpdateResult
impl Unpin for UpdateResult
impl UnwindSafe for UpdateResult
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