#[repr(i32)]pub enum SetOp {
Unspecified = 0,
MinusPrimary = 1,
MinusPrimaryAll = 7,
MinusMultiset = 2,
IntersectionPrimary = 3,
IntersectionMultiset = 4,
IntersectionMultisetAll = 8,
UnionDistinct = 5,
UnionAll = 6,
}
Variants§
Unspecified = 0
MinusPrimary = 1
MinusPrimaryAll = 7
MinusMultiset = 2
IntersectionPrimary = 3
IntersectionMultiset = 4
IntersectionMultisetAll = 8
UnionDistinct = 5
UnionAll = 6
Implementations§
Source§impl SetOp
impl SetOp
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 SetOp
impl Ord for SetOp
Source§impl PartialOrd for SetOp
impl PartialOrd for SetOp
impl Copy for SetOp
impl Eq for SetOp
impl StructuralPartialEq for SetOp
Auto Trait Implementations§
impl Freeze for SetOp
impl RefUnwindSafe for SetOp
impl Send for SetOp
impl Sync for SetOp
impl Unpin for SetOp
impl UnwindSafe for SetOp
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