Struct cyfs_lib::RootStateOpEnvAccess
source · [−]pub struct RootStateOpEnvAccess {
pub path: String,
pub access: AccessPermissions,
}
Fields
path: String
access: AccessPermissions
Implementations
sourceimpl RootStateOpEnvAccess
impl RootStateOpEnvAccess
pub fn new(path: impl Into<String>, access: AccessPermissions) -> Self
Trait Implementations
sourceimpl Clone for RootStateOpEnvAccess
impl Clone for RootStateOpEnvAccess
sourcefn clone(&self) -> RootStateOpEnvAccess
fn clone(&self) -> RootStateOpEnvAccess
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Display for RootStateOpEnvAccess
impl Display for RootStateOpEnvAccess
sourceimpl JsonCodec<RootStateOpEnvAccess> for RootStateOpEnvAccess
impl JsonCodec<RootStateOpEnvAccess> for RootStateOpEnvAccess
fn encode_json(&self) -> Map<String, Value>
fn decode_json(obj: &Map<String, Value>) -> BuckyResult<Self>
fn encode_string(&self) -> String
fn decode_string(value: &str) -> Result<T, BuckyError>
fn decode_value(value: &Value) -> Result<T, BuckyError>
fn encode_value(&self) -> Value
Auto Trait Implementations
impl RefUnwindSafe for RootStateOpEnvAccess
impl Send for RootStateOpEnvAccess
impl Sync for RootStateOpEnvAccess
impl Unpin for RootStateOpEnvAccess
impl UnwindSafe for RootStateOpEnvAccess
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more