pub struct KnowledgeSubject {
pub role: String,
pub target: KnowledgeSubjectTarget,
}Fields§
§role: String§target: KnowledgeSubjectTargetTrait Implementations§
Source§impl Clone for KnowledgeSubject
impl Clone for KnowledgeSubject
Source§impl Debug for KnowledgeSubject
impl Debug for KnowledgeSubject
Source§impl<'de> Deserialize<'de> for KnowledgeSubject
impl<'de> Deserialize<'de> for KnowledgeSubject
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 KnowledgeSubject
Source§impl Ord for KnowledgeSubject
impl Ord for KnowledgeSubject
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for KnowledgeSubject
impl PartialEq for KnowledgeSubject
Source§impl PartialOrd for KnowledgeSubject
impl PartialOrd for KnowledgeSubject
Source§impl Serialize for KnowledgeSubject
impl Serialize for KnowledgeSubject
impl StructuralPartialEq for KnowledgeSubject
Auto Trait Implementations§
impl Freeze for KnowledgeSubject
impl RefUnwindSafe for KnowledgeSubject
impl Send for KnowledgeSubject
impl Sync for KnowledgeSubject
impl Unpin for KnowledgeSubject
impl UnsafeUnpin for KnowledgeSubject
impl UnwindSafe for KnowledgeSubject
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