pub struct EnforceQueryArgs {
pub permission_id: Option<String>,
pub model_id: Option<String>,
pub resource_id: Option<String>,
pub enforcer_id: Option<String>,
}
Fields§
§permission_id: Option<String>
§model_id: Option<String>
§resource_id: Option<String>
§enforcer_id: Option<String>
Trait Implementations§
Source§impl Clone for EnforceQueryArgs
impl Clone for EnforceQueryArgs
Source§fn clone(&self) -> EnforceQueryArgs
fn clone(&self) -> EnforceQueryArgs
Returns a copy 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 EnforceQueryArgs
impl Debug for EnforceQueryArgs
Source§impl Default for EnforceQueryArgs
impl Default for EnforceQueryArgs
Source§fn default() -> EnforceQueryArgs
fn default() -> EnforceQueryArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnforceQueryArgs
impl<'de> Deserialize<'de> for EnforceQueryArgs
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 EnforceQueryArgs
impl PartialEq for EnforceQueryArgs
Source§impl Serialize for EnforceQueryArgs
impl Serialize for EnforceQueryArgs
impl Eq for EnforceQueryArgs
impl StructuralPartialEq for EnforceQueryArgs
Auto Trait Implementations§
impl Freeze for EnforceQueryArgs
impl RefUnwindSafe for EnforceQueryArgs
impl Send for EnforceQueryArgs
impl Sync for EnforceQueryArgs
impl Unpin for EnforceQueryArgs
impl UnwindSafe for EnforceQueryArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.