pub struct SerializedEdge {
pub from_label: String,
pub to_label: String,
pub weight: f64,
pub co_activations: u64,
pub created_tick: u64,
pub last_activated_tick: u64,
}Expand description
Serializable edge.
Fields§
§from_label: String§to_label: String§weight: f64§co_activations: u64§created_tick: u64§last_activated_tick: u64Trait Implementations§
Source§impl Clone for SerializedEdge
impl Clone for SerializedEdge
Source§fn clone(&self) -> SerializedEdge
fn clone(&self) -> SerializedEdge
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 SerializedEdge
impl Debug for SerializedEdge
Source§impl<'de> Deserialize<'de> for SerializedEdge
impl<'de> Deserialize<'de> for SerializedEdge
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 SerializedEdge
impl RefUnwindSafe for SerializedEdge
impl Send for SerializedEdge
impl Sync for SerializedEdge
impl Unpin for SerializedEdge
impl UnwindSafe for SerializedEdge
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