pub struct ViewCommand {
pub target: ViewTarget,
pub mode: ViewMode,
pub depth: Option<usize>,
}Expand description
VIEW command - view block or neighborhood content
Fields§
§target: ViewTargetWhat to view
mode: ViewModeView mode
depth: Option<usize>Depth for neighborhood view
Trait Implementations§
Source§impl Clone for ViewCommand
impl Clone for ViewCommand
Source§fn clone(&self) -> ViewCommand
fn clone(&self) -> ViewCommand
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 ViewCommand
impl Debug for ViewCommand
Source§impl Default for ViewCommand
impl Default for ViewCommand
Source§impl<'de> Deserialize<'de> for ViewCommand
impl<'de> Deserialize<'de> for ViewCommand
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 ViewCommand
impl PartialEq for ViewCommand
Source§impl Serialize for ViewCommand
impl Serialize for ViewCommand
impl StructuralPartialEq for ViewCommand
Auto Trait Implementations§
impl Freeze for ViewCommand
impl RefUnwindSafe for ViewCommand
impl Send for ViewCommand
impl Sync for ViewCommand
impl Unpin for ViewCommand
impl UnwindSafe for ViewCommand
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