pub struct RelationshipDto {
pub target_id: String,
pub relation: String,
pub weight: Option<f32>,
}Fields§
§target_id: String§relation: String§weight: Option<f32>Trait Implementations§
Source§impl Clone for RelationshipDto
impl Clone for RelationshipDto
Source§fn clone(&self) -> RelationshipDto
fn clone(&self) -> RelationshipDto
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 RelationshipDto
impl Debug for RelationshipDto
Source§impl Default for RelationshipDto
impl Default for RelationshipDto
Source§fn default() -> RelationshipDto
fn default() -> RelationshipDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelationshipDto
impl<'de> Deserialize<'de> for RelationshipDto
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 RelationshipDto
impl RefUnwindSafe for RelationshipDto
impl Send for RelationshipDto
impl Sync for RelationshipDto
impl Unpin for RelationshipDto
impl UnsafeUnpin for RelationshipDto
impl UnwindSafe for RelationshipDto
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