pub struct SerializedNode {
pub label: String,
pub node_type: String,
pub access_count: u64,
pub position_x: f64,
pub position_y: f64,
pub created_tick: u64,
}Expand description
Serializable node.
Fields§
§label: String§node_type: String§access_count: u64§position_x: f64§position_y: f64§created_tick: u64Trait Implementations§
Source§impl Clone for SerializedNode
impl Clone for SerializedNode
Source§fn clone(&self) -> SerializedNode
fn clone(&self) -> SerializedNode
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 SerializedNode
impl Debug for SerializedNode
Source§impl<'de> Deserialize<'de> for SerializedNode
impl<'de> Deserialize<'de> for SerializedNode
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 SerializedNode
impl RefUnwindSafe for SerializedNode
impl Send for SerializedNode
impl Sync for SerializedNode
impl Unpin for SerializedNode
impl UnwindSafe for SerializedNode
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