pub struct PointValue {
pub points: Vec<f32>,
pub name: String,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§points: Vec<f32>
§name: String
Trait Implementations§
Source§impl Clone for PointValue
impl Clone for PointValue
Source§fn clone(&self) -> PointValue
fn clone(&self) -> PointValue
Returns a copy 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 PointValue
impl Debug for PointValue
Source§impl Default for PointValue
impl Default for PointValue
Source§fn default() -> PointValue
fn default() -> PointValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PointValue
impl<'de> Deserialize<'de> for PointValue
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 PointValue
impl PartialEq for PointValue
Source§impl Serialize for PointValue
impl Serialize for PointValue
impl StructuralPartialEq for PointValue
Auto Trait Implementations§
impl Freeze for PointValue
impl RefUnwindSafe for PointValue
impl Send for PointValue
impl Sync for PointValue
impl Unpin for PointValue
impl UnwindSafe for PointValue
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