pub struct SubmapRequest {
pub min_x_m: f64,
pub min_y_m: f64,
pub max_x_m: f64,
pub max_y_m: f64,
}Expand description
Request a rectangular submap window (map-frame metres).
Fields§
§min_x_m: f64§min_y_m: f64§max_x_m: f64§max_y_m: f64Trait Implementations§
Source§impl Clone for SubmapRequest
impl Clone for SubmapRequest
Source§fn clone(&self) -> SubmapRequest
fn clone(&self) -> SubmapRequest
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 ContractBody for SubmapRequest
impl ContractBody for SubmapRequest
Source§const FAMILY: &'static str = "map::SubmapRequest"
const FAMILY: &'static str = "map::SubmapRequest"
Canonical contract family id: the
::-joined node path plus the body type
name, with dynamic variables excluded, e.g. "drive::State" or
"component::motor::Command".Source§const SCHEMA_ID: &'static str = "131992c2ffc35636"
const SCHEMA_ID: &'static str = "131992c2ffc35636"
Per-contract compatibility id: lower-hex SHA-256 of the canonical
transitive wire-shape string, truncated to 16 hex characters.
Source§const TOPIC: &'static str = "map/submap"
const TOPIC: &'static str = "map/submap"
Versionless topic key: the
/-joined node path plus the topic leaf, with
each dynamic node contributing a {var} placeholder, e.g. "drive/state"
or "component/{instance}/motor/{capability}/command". The concrete key is
produced by the api-local topic builder, which fills the placeholders.Source§impl Debug for SubmapRequest
impl Debug for SubmapRequest
Source§impl<'de> Deserialize<'de> for SubmapRequest
impl<'de> Deserialize<'de> for SubmapRequest
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 SubmapRequest
impl PartialEq for SubmapRequest
Source§fn eq(&self, other: &SubmapRequest) -> bool
fn eq(&self, other: &SubmapRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubmapRequest
impl Serialize for SubmapRequest
impl StructuralPartialEq for SubmapRequest
Auto Trait Implementations§
impl Freeze for SubmapRequest
impl RefUnwindSafe for SubmapRequest
impl Send for SubmapRequest
impl Sync for SubmapRequest
impl Unpin for SubmapRequest
impl UnsafeUnpin for SubmapRequest
impl UnwindSafe for SubmapRequest
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more