pub enum ContentScope {
Run,
Session,
HostWorkspace,
External,
PersistentStore,
}Expand description
Enumerates the finite content scope cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Run
Use this variant when the contract needs to represent run; selecting it has no side effect by itself.
Session
Use this variant when the contract needs to represent session; selecting it has no side effect by itself.
HostWorkspace
Use this variant when the contract needs to represent host workspace; selecting it has no side effect by itself.
External
Use this variant when the contract needs to represent external; selecting it has no side effect by itself.
PersistentStore
Use this variant when the contract needs to represent persistent store; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ContentScope
impl Clone for ContentScope
Source§fn clone(&self) -> ContentScope
fn clone(&self) -> ContentScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContentScope
impl Debug for ContentScope
Source§impl<'de> Deserialize<'de> for ContentScope
impl<'de> Deserialize<'de> for ContentScope
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
Source§impl PartialEq for ContentScope
impl PartialEq for ContentScope
Source§fn eq(&self, other: &ContentScope) -> bool
fn eq(&self, other: &ContentScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentScope
impl Serialize for ContentScope
impl Eq for ContentScope
impl StructuralPartialEq for ContentScope
Auto Trait Implementations§
impl Freeze for ContentScope
impl RefUnwindSafe for ContentScope
impl Send for ContentScope
impl Sync for ContentScope
impl Unpin for ContentScope
impl UnsafeUnpin for ContentScope
impl UnwindSafe for ContentScope
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