pub struct ManifestSpec { /* private fields */ }
Implementations§
Source§impl ManifestSpec
impl ManifestSpec
pub fn read_from_file(path: &Path) -> Result<ManifestSpec>
pub fn overwrite_fields(&mut self, other: ManifestSpec)
pub fn update_signature(&mut self, signature: ManifestSigverifyBuffer)
pub fn update_pub_key(&mut self, pub_key: ManifestSigverifyBuffer)
pub fn signature(&self) -> Option<&ManifestSigverifyBuffer>
pub fn pub_key(&self) -> Option<&ManifestSigverifyBuffer>
pub fn has_length(&self) -> bool
Trait Implementations§
Source§impl Clone for ManifestSpec
impl Clone for ManifestSpec
Source§fn clone(&self) -> ManifestSpec
fn clone(&self) -> ManifestSpec
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 ManifestSpec
impl Debug for ManifestSpec
Source§impl Default for ManifestSpec
impl Default for ManifestSpec
Source§fn default() -> ManifestSpec
fn default() -> ManifestSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManifestSpec
impl<'de> Deserialize<'de> for ManifestSpec
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 ManifestSpec
impl Serialize for ManifestSpec
Source§impl TryFrom<&Manifest> for ManifestSpec
impl TryFrom<&Manifest> for ManifestSpec
Auto Trait Implementations§
impl Freeze for ManifestSpec
impl RefUnwindSafe for ManifestSpec
impl Send for ManifestSpec
impl Sync for ManifestSpec
impl Unpin for ManifestSpec
impl UnwindSafe for ManifestSpec
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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