pub struct PageMapNode {Show 15 fields
pub id: String,
pub parent_id: Option<String>,
pub rank: f64,
pub ref_kind: String,
pub ref_id: String,
pub label: Option<String>,
pub status: String,
pub pinned: bool,
pub placed: bool,
pub collapsed: bool,
pub x: Option<f64>,
pub y: Option<f64>,
pub width: Option<f64>,
pub height: Option<f64>,
pub ref_state: RefState,
}Expand description
A node in the map, as returned to clients.
Fields§
§id: String§parent_id: Option<String>None only for the root.
rank: f64§ref_kind: String§ref_id: String§label: Option<String>Map-local display override; None = render from the backing object.
status: String§pinned: bool§placed: bool§collapsed: bool§x: Option<f64>§y: Option<f64>§width: Option<f64>§height: Option<f64>§ref_state: RefStateTrait Implementations§
Source§impl Clone for PageMapNode
impl Clone for PageMapNode
Source§fn clone(&self) -> PageMapNode
fn clone(&self) -> PageMapNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PageMapNode
impl Debug for PageMapNode
Source§impl<'de> Deserialize<'de> for PageMapNode
impl<'de> Deserialize<'de> for PageMapNode
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 PageMapNode
impl RefUnwindSafe for PageMapNode
impl Send for PageMapNode
impl Sync for PageMapNode
impl Unpin for PageMapNode
impl UnsafeUnpin for PageMapNode
impl UnwindSafe for PageMapNode
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