pub struct CapabilityManifest {
pub context: String,
pub type_: String,
pub name: String,
pub description: String,
pub capabilities: Vec<CapabilityEntry>,
}Expand description
JSON-LD capability manifest describing what a site offers to agents.
The @context field is always "https://schema.org" and @type is "WebAPI".
Fields§
§context: String§type_: String§name: String§description: String§capabilities: Vec<CapabilityEntry>Trait Implementations§
Source§impl Clone for CapabilityManifest
impl Clone for CapabilityManifest
Source§fn clone(&self) -> CapabilityManifest
fn clone(&self) -> CapabilityManifest
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 CapabilityManifest
impl Debug for CapabilityManifest
Source§impl<'de> Deserialize<'de> for CapabilityManifest
impl<'de> Deserialize<'de> for CapabilityManifest
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 CapabilityManifest
impl PartialEq for CapabilityManifest
Source§fn eq(&self, other: &CapabilityManifest) -> bool
fn eq(&self, other: &CapabilityManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CapabilityManifest
impl Serialize for CapabilityManifest
impl StructuralPartialEq for CapabilityManifest
Auto Trait Implementations§
impl Freeze for CapabilityManifest
impl RefUnwindSafe for CapabilityManifest
impl Send for CapabilityManifest
impl Sync for CapabilityManifest
impl Unpin for CapabilityManifest
impl UnsafeUnpin for CapabilityManifest
impl UnwindSafe for CapabilityManifest
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