pub struct ExecutableOptionalSection {
pub name: String,
pub schema_version: u16,
pub requirement: SectionRequirement,
pub payload: Vec<u8>,
pub payload_digest: Digest,
}Fields§
§name: String§schema_version: u16§requirement: SectionRequirement§payload: Vec<u8>§payload_digest: DigestImplementations§
Trait Implementations§
Source§impl Clone for ExecutableOptionalSection
impl Clone for ExecutableOptionalSection
Source§fn clone(&self) -> ExecutableOptionalSection
fn clone(&self) -> ExecutableOptionalSection
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 ExecutableOptionalSection
impl Debug for ExecutableOptionalSection
Source§impl<'de> Deserialize<'de> for ExecutableOptionalSection
impl<'de> Deserialize<'de> for ExecutableOptionalSection
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
impl Eq for ExecutableOptionalSection
impl StructuralPartialEq for ExecutableOptionalSection
Auto Trait Implementations§
impl Freeze for ExecutableOptionalSection
impl RefUnwindSafe for ExecutableOptionalSection
impl Send for ExecutableOptionalSection
impl Sync for ExecutableOptionalSection
impl Unpin for ExecutableOptionalSection
impl UnsafeUnpin for ExecutableOptionalSection
impl UnwindSafe for ExecutableOptionalSection
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