Enum biscuit_auth::format::schema::constraint_v2::Constraint
source ·
[−]pub enum Constraint {
Int(IntConstraintV2),
String(StringConstraintV2),
Date(DateConstraintV2),
Bytes(BytesConstraintV2),
}Variants
Int(IntConstraintV2)
Tuple Fields
String(StringConstraintV2)
Tuple Fields
Date(DateConstraintV2)
Tuple Fields
Bytes(BytesConstraintV2)
Tuple Fields
Implementations
pub fn merge<B>(
field: &mut Option<Constraint>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
Blanket Implementations
Mutably borrows from an owned value. Read more
