pub enum RuleBehavior {
Allow,
Deny,
Ask,
}Variants§
Trait Implementations§
Source§impl Clone for RuleBehavior
impl Clone for RuleBehavior
impl Copy for RuleBehavior
Source§impl Debug for RuleBehavior
impl Debug for RuleBehavior
Source§impl<'de> Deserialize<'de> for RuleBehavior
impl<'de> Deserialize<'de> for RuleBehavior
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
impl Eq for RuleBehavior
Source§impl Hash for RuleBehavior
impl Hash for RuleBehavior
Source§impl JsonSchema for RuleBehavior
impl JsonSchema for RuleBehavior
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RuleBehavior
impl PartialEq for RuleBehavior
Source§impl Serialize for RuleBehavior
impl Serialize for RuleBehavior
impl StructuralPartialEq for RuleBehavior
Auto Trait Implementations§
impl Forget for RuleBehavior
impl Freeze for RuleBehavior
impl Move for RuleBehavior
impl RefUnwindSafe for RuleBehavior
impl Send for RuleBehavior
impl Sync for RuleBehavior
impl Unpin for RuleBehavior
impl UnsafeUnpin for RuleBehavior
impl UnwindSafe for RuleBehavior
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