#[repr(i32)]pub enum WcoKind {
WcokindUndefined = 0,
WcoViewCheck = 1,
WcoRlsInsertCheck = 2,
WcoRlsUpdateCheck = 3,
WcoRlsConflictCheck = 4,
WcoRlsMergeUpdateCheck = 5,
WcoRlsMergeDeleteCheck = 6,
}
Variants§
WcokindUndefined = 0
WcoViewCheck = 1
WcoRlsInsertCheck = 2
WcoRlsUpdateCheck = 3
WcoRlsConflictCheck = 4
WcoRlsMergeUpdateCheck = 5
WcoRlsMergeDeleteCheck = 6
Implementations§
Source§impl WcoKind
impl WcoKind
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for WcoKind
impl Ord for WcoKind
Source§impl PartialOrd for WcoKind
impl PartialOrd for WcoKind
impl Copy for WcoKind
impl Eq for WcoKind
impl StructuralPartialEq for WcoKind
Auto Trait Implementations§
impl Freeze for WcoKind
impl RefUnwindSafe for WcoKind
impl Send for WcoKind
impl Sync for WcoKind
impl Unpin for WcoKind
impl UnwindSafe for WcoKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more