pub struct TypedSubject {
pub kind: SubjectKind,
pub value: String,
pub extensions: BTreeMap<String, Value>,
}Expand description
A typed symbol, resource, declaration, or other evidence subject.
Fields§
§kind: SubjectKind§value: String§extensions: BTreeMap<String, Value>Implementations§
Source§impl TypedSubject
impl TypedSubject
Trait Implementations§
Source§impl Clone for TypedSubject
impl Clone for TypedSubject
Source§fn clone(&self) -> TypedSubject
fn clone(&self) -> TypedSubject
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 TypedSubject
impl Debug for TypedSubject
Source§impl<'de> Deserialize<'de> for TypedSubject
impl<'de> Deserialize<'de> for TypedSubject
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 TypedSubject
impl PartialEq for TypedSubject
Source§impl Serialize for TypedSubject
impl Serialize for TypedSubject
impl StructuralPartialEq for TypedSubject
Auto Trait Implementations§
impl Freeze for TypedSubject
impl RefUnwindSafe for TypedSubject
impl Send for TypedSubject
impl Sync for TypedSubject
impl Unpin for TypedSubject
impl UnsafeUnpin for TypedSubject
impl UnwindSafe for TypedSubject
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