pub enum Scope {
Once,
Task,
AlwaysSite {
all_companions: bool,
},
AlwaysEverywhere {
all_companions: bool,
},
AlwaysResearch {
all_companions: bool,
provider_only: bool,
},
}Expand description
What the user picked on an approval card.
Variants§
Once
Just this step.
Task
The rest of this task (for interact: on this site).
AlwaysSite
Navigate: Always allow on this site. Interact: set this site to Act for this companion.
AlwaysEverywhere
Navigate: Always allow everywhere.
AlwaysResearch
Research: Always allow, optionally only with the request’s provider.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scope
impl<'de> Deserialize<'de> for Scope
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
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Forget for Scope
impl Freeze for Scope
impl Move for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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