pub struct ProtectResult {
pub artifact: Vec<u8>,
pub info: ProtectedArtifactInfo,
}Expand description
Result of a protect or repack operation.
Fields§
§artifact: Vec<u8>Serialized protected artifact bytes.
info: ProtectedArtifactInfoParsed keyless metadata for the returned artifact.
Trait Implementations§
Source§impl Clone for ProtectResult
impl Clone for ProtectResult
Source§fn clone(&self) -> ProtectResult
fn clone(&self) -> ProtectResult
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 ProtectResult
impl Debug for ProtectResult
Source§impl<'de> Deserialize<'de> for ProtectResult
impl<'de> Deserialize<'de> for ProtectResult
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
Auto Trait Implementations§
impl Freeze for ProtectResult
impl RefUnwindSafe for ProtectResult
impl Send for ProtectResult
impl Sync for ProtectResult
impl Unpin for ProtectResult
impl UnsafeUnpin for ProtectResult
impl UnwindSafe for ProtectResult
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