pub struct FieldAuthRule {
pub type_name: String,
pub field_name: String,
pub policy: String,
}Expand description
Field-level authorization rule
Fields§
§type_name: StringType name this rule applies to
field_name: StringField name this rule applies to
policy: StringPolicy to enforce
Trait Implementations§
Source§impl Clone for FieldAuthRule
impl Clone for FieldAuthRule
Source§fn clone(&self) -> FieldAuthRule
fn clone(&self) -> FieldAuthRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldAuthRule
impl Debug for FieldAuthRule
Source§impl<'de> Deserialize<'de> for FieldAuthRule
impl<'de> Deserialize<'de> for FieldAuthRule
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
Auto Trait Implementations§
impl Freeze for FieldAuthRule
impl RefUnwindSafe for FieldAuthRule
impl Send for FieldAuthRule
impl Sync for FieldAuthRule
impl Unpin for FieldAuthRule
impl UnwindSafe for FieldAuthRule
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