pub struct AccessControlCheck {
pub function_name: String,
pub caller: String,
pub required_role: Option<String>,
pub has_permission: bool,
pub check_timestamp: u64,
}Expand description
Access control check result
Fields§
§function_name: String§caller: String§required_role: Option<String>§has_permission: bool§check_timestamp: u64Trait Implementations§
Source§impl Clone for AccessControlCheck
impl Clone for AccessControlCheck
Source§fn clone(&self) -> AccessControlCheck
fn clone(&self) -> AccessControlCheck
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 AccessControlCheck
impl Debug for AccessControlCheck
Source§impl<'de> Deserialize<'de> for AccessControlCheck
impl<'de> Deserialize<'de> for AccessControlCheck
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 AccessControlCheck
impl RefUnwindSafe for AccessControlCheck
impl Send for AccessControlCheck
impl Sync for AccessControlCheck
impl Unpin for AccessControlCheck
impl UnwindSafe for AccessControlCheck
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