pub enum ExecutionMode {
Viewer,
Publisher,
Guest,
Anonymous,
}Expand description
Changes who may open the app and leaves the rest of the deployed policy, its run-as user included, as it is. Applied under the same lock as a deploy, so neither overwrites the other. Cannot be sent with policy, which states its own mode. When the app runs as another user, refused to a caller who is neither an admin nor in ‘wm_deployers’, and to an operator with builder rights even in ‘wm_deployers’; they change the mode by deploying.
Variants§
Trait Implementations§
Source§impl Clone for ExecutionMode
impl Clone for ExecutionMode
impl Copy for ExecutionMode
Source§impl Debug for ExecutionMode
impl Debug for ExecutionMode
Source§impl Default for ExecutionMode
impl Default for ExecutionMode
Source§fn default() -> ExecutionMode
fn default() -> ExecutionMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecutionMode
impl<'de> Deserialize<'de> for ExecutionMode
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 ExecutionMode
Source§impl Hash for ExecutionMode
impl Hash for ExecutionMode
Source§impl Ord for ExecutionMode
impl Ord for ExecutionMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExecutionMode
impl PartialEq for ExecutionMode
Source§impl PartialOrd for ExecutionMode
impl PartialOrd for ExecutionMode
Source§impl Serialize for ExecutionMode
impl Serialize for ExecutionMode
impl StructuralPartialEq for ExecutionMode
Auto Trait Implementations§
impl Freeze for ExecutionMode
impl RefUnwindSafe for ExecutionMode
impl Send for ExecutionMode
impl Sync for ExecutionMode
impl Unpin for ExecutionMode
impl UnsafeUnpin for ExecutionMode
impl UnwindSafe for ExecutionMode
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