#[non_exhaustive]pub struct Skill {
pub actions: Vec<String>,
pub entities: Vec<String>,
pub uris: Vec<SkillUri>,
pub permissions: Vec<String>,
pub domain_verify: Option<bool>,
}Expand description
One entry of skills: the implicit wants an ability accepts.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.actions: Vec<String>actions: want actions the skill matches.
entities: Vec<String>entities: want entities the skill matches.
uris: Vec<SkillUri>uris: URI patterns the skill matches.
permissions: Vec<String>permissions: permissions a caller must hold to use the skill.
domain_verify: Option<bool>App Linking: the https hosts are verified against the bundle.
Trait Implementations§
impl Eq for Skill
impl StructuralPartialEq for Skill
Auto Trait Implementations§
impl Forget for Skill
impl Freeze for Skill
impl Move for Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
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