Struct rootasrole_core::database::options::OptStack
source · pub struct OptStack { /* private fields */ }Implementations§
source§impl OptStack
impl OptStack
pub fn from_task(task: Rc<RefCell<STask>>) -> Self
pub fn from_role(role: Rc<RefCell<SRole>>) -> Self
pub fn from_roles(roles: Rc<RefCell<SConfig>>) -> Self
pub fn get_root_behavior(&self) -> (Level, SPrivileged)
pub fn get_bounding(&self) -> (Level, SBounding)
pub fn get_authentication(&self) -> (Level, SAuthentication)
pub fn get_wildcard(&self) -> (Level, String)
pub fn get_timeout(&self) -> (Level, STimeout)
pub fn to_opt(&self) -> Opt
Trait Implementations§
source§impl<'de> Deserialize<'de> for OptStack
impl<'de> Deserialize<'de> for OptStack
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 OptStack
impl !RefUnwindSafe for OptStack
impl !Send for OptStack
impl !Sync for OptStack
impl Unpin for OptStack
impl !UnwindSafe for OptStack
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)