pub struct OtaMetadata {
pub min_supervisor_version: String,
pub service_name: String,
pub assets_included: bool,
pub health_check_endpoint: String,
pub health_check_timeout: u32,
pub rollback_compatible_versions: Vec<String>,
}Expand description
OTA-specific metadata
Fields§
§min_supervisor_version: String§service_name: String§assets_included: bool§health_check_endpoint: String§health_check_timeout: u32§rollback_compatible_versions: Vec<String>Trait Implementations§
Source§impl Clone for OtaMetadata
impl Clone for OtaMetadata
Source§fn clone(&self) -> OtaMetadata
fn clone(&self) -> OtaMetadata
Returns a duplicate 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 OtaMetadata
impl Debug for OtaMetadata
Auto Trait Implementations§
impl Freeze for OtaMetadata
impl RefUnwindSafe for OtaMetadata
impl Send for OtaMetadata
impl Sync for OtaMetadata
impl Unpin for OtaMetadata
impl UnsafeUnpin for OtaMetadata
impl UnwindSafe for OtaMetadata
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