pub enum Class {
Read,
Personal,
Secret {
reason: String,
},
Write,
Critical {
reason: String,
},
}Expand description
What an action does, as far as fritz is concerned.
Variants§
Read
A getter of settings or state.
Personal
A getter of personal lists: calls, contacts, voice messages and the event log.
Secret
A getter that could return passwords, keys or other secrets.
Write
A change of a setting or an entry.
Critical
A change that can lock the user out, cost money, expose the device or reset it, or an action nothing is known about.
Implementations§
Trait Implementations§
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Forget for Class
impl Freeze for Class
impl Move for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnsafeUnpin for Class
impl UnwindSafe for Class
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