pub struct Proximity {
pub distance: Option<f64>,
pub explicit: bool,
}
Fields§
§distance: Option<f64>
§explicit: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Proximity
impl<'de> Deserialize<'de> for Proximity
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
impl Copy for Proximity
Auto Trait Implementations§
impl Freeze for Proximity
impl RefUnwindSafe for Proximity
impl Send for Proximity
impl Sync for Proximity
impl Unpin for Proximity
impl UnwindSafe for Proximity
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