pub struct TreeNodeSnapshot {
pub id: u64,
pub view_type: String,
pub children: Vec<u64>,
pub prop_count: u32,
pub depth: u32,
}Expand description
A single node in a training data tree snapshot.
Fields§
§id: u64§view_type: String§children: Vec<u64>§prop_count: u32§depth: u32Trait Implementations§
Source§impl Clone for TreeNodeSnapshot
impl Clone for TreeNodeSnapshot
Source§fn clone(&self) -> TreeNodeSnapshot
fn clone(&self) -> TreeNodeSnapshot
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 TreeNodeSnapshot
impl Debug for TreeNodeSnapshot
Source§impl<'de> Deserialize<'de> for TreeNodeSnapshot
impl<'de> Deserialize<'de> for TreeNodeSnapshot
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 TreeNodeSnapshot
impl RefUnwindSafe for TreeNodeSnapshot
impl Send for TreeNodeSnapshot
impl Sync for TreeNodeSnapshot
impl Unpin for TreeNodeSnapshot
impl UnsafeUnpin for TreeNodeSnapshot
impl UnwindSafe for TreeNodeSnapshot
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