pub struct WindSpeedResponse {
pub code: NeaSuccessCode,
pub error_msg: String,
pub data: WindSpeedData,
}Fields§
§code: NeaSuccessCodeResponse status code (0 for success)
error_msg: StringError message (empty string for success)
data: WindSpeedDataTrait Implementations§
Source§impl Clone for WindSpeedResponse
impl Clone for WindSpeedResponse
Source§fn clone(&self) -> WindSpeedResponse
fn clone(&self) -> WindSpeedResponse
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 Debug for WindSpeedResponse
impl Debug for WindSpeedResponse
Source§impl<'de> Deserialize<'de> for WindSpeedResponse
impl<'de> Deserialize<'de> for WindSpeedResponse
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 WindSpeedResponse
impl PartialEq for WindSpeedResponse
Source§impl Serialize for WindSpeedResponse
impl Serialize for WindSpeedResponse
impl StructuralPartialEq for WindSpeedResponse
Auto Trait Implementations§
impl Freeze for WindSpeedResponse
impl RefUnwindSafe for WindSpeedResponse
impl Send for WindSpeedResponse
impl Sync for WindSpeedResponse
impl Unpin for WindSpeedResponse
impl UnsafeUnpin for WindSpeedResponse
impl UnwindSafe for WindSpeedResponse
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