pub struct LinkResponse {
pub source: WireMemoryId,
pub target: WireMemoryId,
pub kind: EdgeKindWire,
pub weight: f32,
pub created_at_unix_nanos: u64,
pub already_existed: bool,
}Expand description
LINK_RESP (0x00A5).
Fields§
§source: WireMemoryId§target: WireMemoryId§kind: EdgeKindWire§weight: f32§created_at_unix_nanos: u64§already_existed: booltrue if the edge already existed (LINK overwrote its weight);
false if newly created.
Trait Implementations§
Source§impl Clone for LinkResponse
impl Clone for LinkResponse
impl Copy for LinkResponse
Source§impl Debug for LinkResponse
impl Debug for LinkResponse
Source§impl<'de> Deserialize<'de> for LinkResponse
impl<'de> Deserialize<'de> for LinkResponse
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 LinkResponse
impl PartialEq for LinkResponse
Source§impl Serialize for LinkResponse
impl Serialize for LinkResponse
impl StructuralPartialEq for LinkResponse
Auto Trait Implementations§
impl Freeze for LinkResponse
impl RefUnwindSafe for LinkResponse
impl Send for LinkResponse
impl Sync for LinkResponse
impl Unpin for LinkResponse
impl UnsafeUnpin for LinkResponse
impl UnwindSafe for LinkResponse
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