pub struct postinstall {
pub package: Meta,
pub manifest: Hex<Vec<u8>>,
}Expand description
This structure has the same JSON and Fracpack format as the arguments to Actions::postinstall.
Fields§
§package: Meta§manifest: Hex<Vec<u8>>Implementations§
Source§impl postinstall
impl postinstall
pub const ACTION_NAME: &'static str = "postinstall"
Trait Implementations§
Source§impl Clone for postinstall
impl Clone for postinstall
Source§fn clone(&self) -> postinstall
fn clone(&self) -> postinstall
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 postinstall
impl Debug for postinstall
Source§impl<'de> Deserialize<'de> for postinstall
impl<'de> Deserialize<'de> for postinstall
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 Pack for postinstall
impl Pack for postinstall
Source§impl Serialize for postinstall
impl Serialize for postinstall
Source§impl ToSchema for postinstall
impl ToSchema for postinstall
fn schema(builder: &mut SchemaBuilder) -> AnyType
Source§impl<'a> Unpack<'a> for postinstall
impl<'a> Unpack<'a> for postinstall
Source§fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
fn unpack(src: &mut FracInputStream<'a>) -> Result<Self>
Convert from fracpack format. Also verifies the integrity of the data. Read more
Source§fn verify(src: &mut FracInputStream<'_>) -> Result<()>
fn verify(src: &mut FracInputStream<'_>) -> Result<()>
Verify the integrity of fracpack data. You don’t need to call this if
using [Pack::unpack] since it verifies integrity during unpack.
Auto Trait Implementations§
impl Freeze for postinstall
impl RefUnwindSafe for postinstall
impl Send for postinstall
impl Sync for postinstall
impl Unpin for postinstall
impl UnsafeUnpin for postinstall
impl UnwindSafe for postinstall
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