pub struct SchemaResult {
pub valid: bool,
pub action: String,
pub args: BTreeMap<String, f64>,
pub decision: String,
pub stripped_fields: Vec<String>,
pub reason: String,
pub write_authorized: bool,
}Fields§
§valid: bool§action: String§args: BTreeMap<String, f64>§decision: String§stripped_fields: Vec<String>§reason: StringTrait Implementations§
Source§impl Clone for SchemaResult
impl Clone for SchemaResult
Source§impl Debug for SchemaResult
impl Debug for SchemaResult
Source§impl<'de> Deserialize<'de> for SchemaResult
impl<'de> Deserialize<'de> for SchemaResult
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
Source§impl PartialEq for SchemaResult
impl PartialEq for SchemaResult
Source§impl Serialize for SchemaResult
impl Serialize for SchemaResult
impl StructuralPartialEq for SchemaResult
Auto Trait Implementations§
impl Forget for SchemaResult
impl Freeze for SchemaResultwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, f64> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, f64)>>: Freeze,
PhantomData<String>: Freeze,
impl Move for SchemaResult
impl RefUnwindSafe for SchemaResult
impl Send for SchemaResult
impl Sync for SchemaResult
impl Unpin for SchemaResult
impl UnsafeUnpin for SchemaResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, f64> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, f64)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SchemaResult
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