pub struct GlobalClaim {
pub verb: String,
pub params: BTreeMap<String, Value>,
pub summary: Option<Summary>,
}Expand description
Reserved run-scoped claim slot.
The shape is intentionally provisional pending the CFM-41 global-claim prototype. It gives renderers and serialized changesets a stable place for non-tree claims without committing the claim vocabulary yet.
Fields§
§verb: StringOpen claim verb for a renderer- or plugin-defined run-scoped claim.
params: BTreeMap<String, Value>Claim-specific structured parameters.
summary: Option<Summary>Optional renderer-facing summary for the claim.
Implementations§
Trait Implementations§
Source§impl Clone for GlobalClaim
impl Clone for GlobalClaim
Source§fn clone(&self) -> GlobalClaim
fn clone(&self) -> GlobalClaim
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 GlobalClaim
impl Debug for GlobalClaim
Source§impl<'de> Deserialize<'de> for GlobalClaim
impl<'de> Deserialize<'de> for GlobalClaim
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 GlobalClaim
impl PartialEq for GlobalClaim
Source§fn eq(&self, other: &GlobalClaim) -> bool
fn eq(&self, other: &GlobalClaim) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GlobalClaim
impl Serialize for GlobalClaim
impl StructuralPartialEq for GlobalClaim
Auto Trait Implementations§
impl Freeze for GlobalClaim
impl RefUnwindSafe for GlobalClaim
impl Send for GlobalClaim
impl Sync for GlobalClaim
impl Unpin for GlobalClaim
impl UnsafeUnpin for GlobalClaim
impl UnwindSafe for GlobalClaim
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