#[non_exhaustive]pub enum SkillActivationSource {
Direct,
Nested {
parent_window_id: SkillActingWindowId,
},
}Expand description
Why the exact Skill received fresh activation approval.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Direct
A user or trusted application selected the Skill directly.
Nested
A live parent acting window requested a manifest-listed nested Skill.
Fields
§
parent_window_id: SkillActingWindowIdExact parent authority window.
Trait Implementations§
Source§impl Clone for SkillActivationSource
impl Clone for SkillActivationSource
Source§impl Debug for SkillActivationSource
impl Debug for SkillActivationSource
Source§impl<'de> Deserialize<'de> for SkillActivationSource
impl<'de> Deserialize<'de> for SkillActivationSource
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 SkillActivationSource
Source§impl JsonSchema for SkillActivationSource
impl JsonSchema for SkillActivationSource
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SkillActivationSource
impl PartialEq for SkillActivationSource
Source§impl Serialize for SkillActivationSource
impl Serialize for SkillActivationSource
impl StructuralPartialEq for SkillActivationSource
Auto Trait Implementations§
impl Forget for SkillActivationSource
impl Freeze for SkillActivationSource
impl Move for SkillActivationSource
impl RefUnwindSafe for SkillActivationSource
impl Send for SkillActivationSource
impl Sync for SkillActivationSource
impl Unpin for SkillActivationSource
impl UnsafeUnpin for SkillActivationSource
impl UnwindSafe for SkillActivationSource
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