Struct BundleSection
#[non_exhaustive]pub struct BundleSection {
pub format: Option<BundleFormat>,
pub verity_size: Option<u64>,
pub verity_salt: Option<String>,
pub verity_hash: Option<String>,
}Expand description
The [bundle] section of a manifest.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.format: Option<BundleFormat>The bundle format.
verity_size: Option<u64>The size of the verity-protected payload in bytes.
verity_salt: Option<String>The salt of the verity-protected payload.
verity_hash: Option<String>The root hash of the verity-protected payload.
Trait Implementations§
§impl Clone for BundleSection
impl Clone for BundleSection
§fn clone(&self) -> BundleSection
fn clone(&self) -> BundleSection
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 more§impl Debug for BundleSection
impl Debug for BundleSection
§impl Default for BundleSection
impl Default for BundleSection
§fn default() -> BundleSection
fn default() -> BundleSection
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for BundleSection
impl<'de> Deserialize<'de> for BundleSection
§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
impl Eq for BundleSection
§impl PartialEq for BundleSection
impl PartialEq for BundleSection
impl StructuralPartialEq for BundleSection
§impl Type for BundleSection
impl Type for BundleSection
Auto Trait Implementations§
impl Freeze for BundleSection
impl RefUnwindSafe for BundleSection
impl Send for BundleSection
impl Sync for BundleSection
impl Unpin for BundleSection
impl UnsafeUnpin for BundleSection
impl UnwindSafe for BundleSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.