pub struct MevoSection {
pub name: String,
pub address: Option<String>,
pub ball_type: Option<u8>,
pub tee_height: Option<Distance>,
pub range: Option<Distance>,
pub surface_height: Option<Distance>,
pub track_pct: Option<f64>,
pub use_partial: Option<PartialMode>,
}Expand description
A Mevo/Mevo+ device instance.
Fields§
§name: String§address: Option<String>§ball_type: Option<u8>§tee_height: Option<Distance>§range: Option<Distance>§surface_height: Option<Distance>§track_pct: Option<f64>§use_partial: Option<PartialMode>Trait Implementations§
Source§impl Clone for MevoSection
impl Clone for MevoSection
Source§fn clone(&self) -> MevoSection
fn clone(&self) -> MevoSection
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 MevoSection
impl Debug for MevoSection
Source§impl<'de> Deserialize<'de> for MevoSection
impl<'de> Deserialize<'de> for MevoSection
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 MevoSection
impl PartialEq for MevoSection
Source§impl Serialize for MevoSection
impl Serialize for MevoSection
impl StructuralPartialEq for MevoSection
Auto Trait Implementations§
impl Freeze for MevoSection
impl RefUnwindSafe for MevoSection
impl Send for MevoSection
impl Sync for MevoSection
impl Unpin for MevoSection
impl UnsafeUnpin for MevoSection
impl UnwindSafe for MevoSection
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