pub struct FuotaDeployment {Show 22 fields
pub id: String,
pub application_id: String,
pub device_profile_id: String,
pub name: String,
pub multicast_group_type: i32,
pub multicast_class_c_scheduling_type: i32,
pub multicast_dr: u32,
pub multicast_class_b_ping_slot_periodicity: u32,
pub multicast_frequency: u32,
pub multicast_timeout: u32,
pub calculate_multicast_timeout: bool,
pub unicast_max_retry_count: u32,
pub fragmentation_fragment_size: u32,
pub calculate_fragmentation_fragment_size: bool,
pub fragmentation_redundancy_percentage: u32,
pub fragmentation_session_index: u32,
pub fragmentation_matrix: u32,
pub fragmentation_block_ack_delay: u32,
pub fragmentation_descriptor: Vec<u8>,
pub request_fragmentation_session_status: i32,
pub payload: Vec<u8>,
pub on_complete_set_device_tags: HashMap<String, String>,
}Fields§
§id: StringDeployment ID. This value is automatically set on create.
application_id: StringApplication ID.
device_profile_id: StringDevice-profile ID.
name: StringDeployment name.
multicast_group_type: i32Multicast-group type.
multicast_class_c_scheduling_type: i32Multicast-group scheduling type (Class-C only).
multicast_dr: u32Multicast data-rate.
multicast_class_b_ping_slot_periodicity: u32Multicast ping-slot period (Class-B only). Valid options are: 0 - 7.
Number of ping-slots per beacon-period: pingNb = 2^(7-periodicity)
Periodicity: 0 = 128 ping-slots per beacon period = ~ every 1 sec Periodicity: 7 = 1 ping-slot per beacon period = ~ every 128 sec
multicast_frequency: u32Multicast frequency (Hz).
multicast_timeout: u32Multicast timeout. This defines the timeout of the multicast-session. Please refer to the Remote Multicast Setup specification as this field has a different meaning for Class-B and Class-C groups.
calculate_multicast_timeout: boolCalculate multicast timeout. If set to true, ChirpStack will calculate the multicast-timeout.
unicast_max_retry_count: u32The number of times ChirpStack will retry an unicast command before it considers it to be failed.
fragmentation_fragment_size: u32Fragmentation size. This defines the size of each payload fragment. Please refer to the Regional Parameters specification for the maximum payload sizes per data-rate and region.
calculate_fragmentation_fragment_size: boolCalculate fragmentation size. If set to true, ChirpStack will calculate the fragmentation size.
fragmentation_redundancy_percentage: u32Fragmentation redundancy percentage. The number represents the percentage (0 - 100) of redundant messages to send.
fragmentation_session_index: u32Fragmentation session index.
fragmentation_matrix: u32Fragmentation matrix.
fragmentation_block_ack_delay: u32Block ack delay.
fragmentation_descriptor: Vec<u8>Descriptor (4 bytes).
request_fragmentation_session_status: i32Request fragmentation session status.
payload: Vec<u8>Payload. The FUOTA payload to send.
Set device tags on complete.
Implementations§
Source§impl FuotaDeployment
impl FuotaDeployment
Sourcepub fn multicast_group_type(&self) -> MulticastGroupType
pub fn multicast_group_type(&self) -> MulticastGroupType
Returns the enum value of multicast_group_type, or the default if the field is set to an invalid enum value.
Sourcepub fn set_multicast_group_type(&mut self, value: MulticastGroupType)
pub fn set_multicast_group_type(&mut self, value: MulticastGroupType)
Sets multicast_group_type to the provided enum value.
Sourcepub fn multicast_class_c_scheduling_type(&self) -> MulticastGroupSchedulingType
pub fn multicast_class_c_scheduling_type(&self) -> MulticastGroupSchedulingType
Returns the enum value of multicast_class_c_scheduling_type, or the default if the field is set to an invalid enum value.
Sourcepub fn set_multicast_class_c_scheduling_type(
&mut self,
value: MulticastGroupSchedulingType,
)
pub fn set_multicast_class_c_scheduling_type( &mut self, value: MulticastGroupSchedulingType, )
Sets multicast_class_c_scheduling_type to the provided enum value.
Sourcepub fn request_fragmentation_session_status(
&self,
) -> RequestFragmentationSessionStatus
pub fn request_fragmentation_session_status( &self, ) -> RequestFragmentationSessionStatus
Returns the enum value of request_fragmentation_session_status, or the default if the field is set to an invalid enum value.
Sourcepub fn set_request_fragmentation_session_status(
&mut self,
value: RequestFragmentationSessionStatus,
)
pub fn set_request_fragmentation_session_status( &mut self, value: RequestFragmentationSessionStatus, )
Sets request_fragmentation_session_status to the provided enum value.
Trait Implementations§
Source§impl Clone for FuotaDeployment
impl Clone for FuotaDeployment
Source§fn clone(&self) -> FuotaDeployment
fn clone(&self) -> FuotaDeployment
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FuotaDeployment
impl Debug for FuotaDeployment
Source§impl Default for FuotaDeployment
impl Default for FuotaDeployment
Source§impl Message for FuotaDeployment
impl Message for FuotaDeployment
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for FuotaDeployment
impl PartialEq for FuotaDeployment
Source§fn eq(&self, other: &FuotaDeployment) -> bool
fn eq(&self, other: &FuotaDeployment) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FuotaDeployment
Auto Trait Implementations§
impl Freeze for FuotaDeployment
impl RefUnwindSafe for FuotaDeployment
impl Send for FuotaDeployment
impl Sync for FuotaDeployment
impl Unpin for FuotaDeployment
impl UnsafeUnpin for FuotaDeployment
impl UnwindSafe for FuotaDeployment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request