pub struct WindDirectionResponse {
pub code: NeaSuccessCode,
pub error_msg: String,
pub data: WindDirectionData,
}Fields§
§code: NeaSuccessCodeResponse status code (0 for success)
error_msg: StringError message (empty string for success)
data: WindDirectionDataTrait Implementations§
Source§impl Clone for WindDirectionResponse
impl Clone for WindDirectionResponse
Source§fn clone(&self) -> WindDirectionResponse
fn clone(&self) -> WindDirectionResponse
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 WindDirectionResponse
impl Debug for WindDirectionResponse
Source§impl<'de> Deserialize<'de> for WindDirectionResponse
impl<'de> Deserialize<'de> for WindDirectionResponse
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 WindDirectionResponse
impl PartialEq for WindDirectionResponse
Source§fn eq(&self, other: &WindDirectionResponse) -> bool
fn eq(&self, other: &WindDirectionResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WindDirectionResponse
impl Serialize for WindDirectionResponse
impl StructuralPartialEq for WindDirectionResponse
Auto Trait Implementations§
impl Freeze for WindDirectionResponse
impl RefUnwindSafe for WindDirectionResponse
impl Send for WindDirectionResponse
impl Sync for WindDirectionResponse
impl Unpin for WindDirectionResponse
impl UnsafeUnpin for WindDirectionResponse
impl UnwindSafe for WindDirectionResponse
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