pub struct ComponentRelationship {
pub from: String,
pub to: String,
pub relationship_type: RelationshipType,
pub strength: f64,
pub evidence: Vec<String>,
}
Expand description
组件关系
Fields§
§from: String
§to: String
§relationship_type: RelationshipType
§strength: f64
§evidence: Vec<String>
Trait Implementations§
Source§impl Clone for ComponentRelationship
impl Clone for ComponentRelationship
Source§fn clone(&self) -> ComponentRelationship
fn clone(&self) -> ComponentRelationship
Returns a duplicate of the value. Read more
1.0.0 · 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 ComponentRelationship
impl Debug for ComponentRelationship
Source§impl<'de> Deserialize<'de> for ComponentRelationship
impl<'de> Deserialize<'de> for ComponentRelationship
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
Auto Trait Implementations§
impl Freeze for ComponentRelationship
impl RefUnwindSafe for ComponentRelationship
impl Send for ComponentRelationship
impl Sync for ComponentRelationship
impl Unpin for ComponentRelationship
impl UnwindSafe for ComponentRelationship
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