Enum rpc2::proto::FormatTrigger
source · #[repr(i32)]pub enum FormatTrigger {
Save,
Manual,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FormatTrigger
impl Clone for FormatTrigger
source§fn clone(&self) -> FormatTrigger
fn clone(&self) -> FormatTrigger
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 FormatTrigger
impl Debug for FormatTrigger
source§impl Default for FormatTrigger
impl Default for FormatTrigger
source§fn default() -> FormatTrigger
fn default() -> FormatTrigger
Returns the “default value” for a type. Read more
source§impl From<FormatTrigger> for i32
impl From<FormatTrigger> for i32
source§fn from(value: FormatTrigger) -> i32
fn from(value: FormatTrigger) -> i32
Converts to this type from the input type.
source§impl Hash for FormatTrigger
impl Hash for FormatTrigger
source§impl Ord for FormatTrigger
impl Ord for FormatTrigger
source§fn cmp(&self, other: &FormatTrigger) -> Ordering
fn cmp(&self, other: &FormatTrigger) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FormatTrigger> for FormatTrigger
impl PartialEq<FormatTrigger> for FormatTrigger
source§fn eq(&self, other: &FormatTrigger) -> bool
fn eq(&self, other: &FormatTrigger) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FormatTrigger> for FormatTrigger
impl PartialOrd<FormatTrigger> for FormatTrigger
source§fn partial_cmp(&self, other: &FormatTrigger) -> Option<Ordering>
fn partial_cmp(&self, other: &FormatTrigger) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FormatTrigger
impl Serialize for FormatTrigger
impl Copy for FormatTrigger
impl Eq for FormatTrigger
impl StructuralEq for FormatTrigger
impl StructuralPartialEq for FormatTrigger
Auto Trait Implementations§
impl RefUnwindSafe for FormatTrigger
impl Send for FormatTrigger
impl Sync for FormatTrigger
impl Unpin for FormatTrigger
impl UnwindSafe for FormatTrigger
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.