pub struct PathFindCommand {
pub from_id: String,
pub to_id: String,
pub max_length: Option<usize>,
}Expand description
PATH command - find path between two blocks
Fields§
§from_id: StringStarting block ID
to_id: StringTarget block ID
max_length: Option<usize>Maximum path length
Trait Implementations§
Source§impl Clone for PathFindCommand
impl Clone for PathFindCommand
Source§fn clone(&self) -> PathFindCommand
fn clone(&self) -> PathFindCommand
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 PathFindCommand
impl Debug for PathFindCommand
Source§impl<'de> Deserialize<'de> for PathFindCommand
impl<'de> Deserialize<'de> for PathFindCommand
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 PathFindCommand
impl PartialEq for PathFindCommand
Source§impl Serialize for PathFindCommand
impl Serialize for PathFindCommand
impl StructuralPartialEq for PathFindCommand
Auto Trait Implementations§
impl Freeze for PathFindCommand
impl RefUnwindSafe for PathFindCommand
impl Send for PathFindCommand
impl Sync for PathFindCommand
impl Unpin for PathFindCommand
impl UnwindSafe for PathFindCommand
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