pub struct V1ListNode {
pub kind: Option<ListNodeKind>,
pub indent: Option<i32>,
pub children: Option<Vec<V1Node>>,
}
Fields§
§kind: Option<ListNodeKind>
§indent: Option<i32>
§children: Option<Vec<V1Node>>
Implementations§
source§impl V1ListNode
impl V1ListNode
pub fn new() -> V1ListNode
Trait Implementations§
source§impl Clone for V1ListNode
impl Clone for V1ListNode
source§fn clone(&self) -> V1ListNode
fn clone(&self) -> V1ListNode
Returns a copy 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 V1ListNode
impl Debug for V1ListNode
source§impl Default for V1ListNode
impl Default for V1ListNode
source§fn default() -> V1ListNode
fn default() -> V1ListNode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for V1ListNode
impl<'de> Deserialize<'de> for V1ListNode
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 V1ListNode
impl PartialEq for V1ListNode
source§impl Serialize for V1ListNode
impl Serialize for V1ListNode
impl StructuralPartialEq for V1ListNode
Auto Trait Implementations§
impl Freeze for V1ListNode
impl RefUnwindSafe for V1ListNode
impl Send for V1ListNode
impl Sync for V1ListNode
impl Unpin for V1ListNode
impl UnwindSafe for V1ListNode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)