pub struct PawsRegisterRequest {
pub antenna: Option<AntennaCharacteristics>,
pub device_desc: Option<DeviceDescriptor>,
pub device_owner: Option<DeviceOwner>,
pub location: Option<GeoLocation>,
pub type_: Option<String>,
pub version: Option<String>,
}
Expand description
The registration request message contains the required registration parameters.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- register paws (request)
Fields§
§antenna: Option<AntennaCharacteristics>
Antenna characteristics, including its height and height type.
device_desc: Option<DeviceDescriptor>
A DeviceDescriptor is required.
device_owner: Option<DeviceOwner>
Device owner information is required.
location: Option<GeoLocation>
A device’s geolocation is required.
type_: Option<String>
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, …).
Required field.
version: Option<String>
The PAWS version. Must be exactly 1.0.
Required field.
Trait Implementations§
source§impl Clone for PawsRegisterRequest
impl Clone for PawsRegisterRequest
source§fn clone(&self) -> PawsRegisterRequest
fn clone(&self) -> PawsRegisterRequest
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 PawsRegisterRequest
impl Debug for PawsRegisterRequest
source§impl Default for PawsRegisterRequest
impl Default for PawsRegisterRequest
source§fn default() -> PawsRegisterRequest
fn default() -> PawsRegisterRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PawsRegisterRequest
impl<'de> Deserialize<'de> for PawsRegisterRequest
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 Serialize for PawsRegisterRequest
impl Serialize for PawsRegisterRequest
impl RequestValue for PawsRegisterRequest
Auto Trait Implementations§
impl RefUnwindSafe for PawsRegisterRequest
impl Send for PawsRegisterRequest
impl Sync for PawsRegisterRequest
impl Unpin for PawsRegisterRequest
impl UnwindSafe for PawsRegisterRequest
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