pub struct SkillProfile {
pub schema_version: u16,
pub version: String,
pub engine: SkillBrowserEngine,
pub effective_capabilities: BTreeSet<SkillCapability>,
pub observable_digest: String,
}Fields§
§schema_version: u16§version: String§engine: SkillBrowserEngine§effective_capabilities: BTreeSet<SkillCapability>§observable_digest: StringImplementations§
Source§impl SkillProfile
impl SkillProfile
pub const SCHEMA_VERSION: u16 = SKILL_SCHEMA_VERSION
pub fn new( version: impl Into<String>, engine: SkillBrowserEngine, effective_capabilities: impl IntoIterator<Item = SkillCapability>, observable_digest: impl Into<String>, ) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for SkillProfile
impl Clone for SkillProfile
Source§impl Debug for SkillProfile
impl Debug for SkillProfile
Source§impl<'de> Deserialize<'de> for SkillProfile
impl<'de> Deserialize<'de> for SkillProfile
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 SkillProfile
Source§impl PartialEq for SkillProfile
impl PartialEq for SkillProfile
Source§impl Serialize for SkillProfile
impl Serialize for SkillProfile
impl StructuralPartialEq for SkillProfile
Auto Trait Implementations§
impl Freeze for SkillProfile
impl RefUnwindSafe for SkillProfile
impl Send for SkillProfile
impl Sync for SkillProfile
impl Unpin for SkillProfile
impl UnsafeUnpin for SkillProfile
impl UnwindSafe for SkillProfile
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