pub struct SubjectLineRef {
pub agent_id: AgentId,
pub subject: String,
pub predicate: String,
}Expand description
Compound key identifying the (agent_id, subject, predicate) subject-line.
Fields§
§agent_id: AgentIdThe agent that owns this subject-line.
subject: StringThe entity being described.
predicate: StringThe aspect being asserted.
Trait Implementations§
Source§impl Clone for SubjectLineRef
impl Clone for SubjectLineRef
Source§fn clone(&self) -> SubjectLineRef
fn clone(&self) -> SubjectLineRef
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 SubjectLineRef
impl Debug for SubjectLineRef
Source§impl<'de> Deserialize<'de> for SubjectLineRef
impl<'de> Deserialize<'de> for SubjectLineRef
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 SubjectLineRef
Source§impl Hash for SubjectLineRef
impl Hash for SubjectLineRef
Source§impl PartialEq for SubjectLineRef
impl PartialEq for SubjectLineRef
Source§fn eq(&self, other: &SubjectLineRef) -> bool
fn eq(&self, other: &SubjectLineRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubjectLineRef
impl Serialize for SubjectLineRef
impl StructuralPartialEq for SubjectLineRef
Auto Trait Implementations§
impl Freeze for SubjectLineRef
impl RefUnwindSafe for SubjectLineRef
impl Send for SubjectLineRef
impl Sync for SubjectLineRef
impl Unpin for SubjectLineRef
impl UnsafeUnpin for SubjectLineRef
impl UnwindSafe for SubjectLineRef
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