pub struct WasmPkgDto {
pub name: String,
pub app_name: Option<String>,
pub app_module: Option<String>,
pub capabilities: Option<Capabilities>,
pub pkg_type: PkgType,
pub meta: PkgMetaDto,
pub source: Source,
}
Expand description
DTO for WasmPkg
Fields§
§name: String
§app_name: Option<String>
§app_module: Option<String>
§capabilities: Option<Capabilities>
§pkg_type: PkgType
§meta: PkgMetaDto
§source: Source
Trait Implementations§
Source§impl Clone for WasmPkgDto
impl Clone for WasmPkgDto
Source§fn clone(&self) -> WasmPkgDto
fn clone(&self) -> WasmPkgDto
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 WasmPkgDto
impl Debug for WasmPkgDto
Source§impl<'de> Deserialize<'de> for WasmPkgDto
impl<'de> Deserialize<'de> for WasmPkgDto
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 From<WasmPkg> for WasmPkgDto
impl From<WasmPkg> for WasmPkgDto
Source§impl From<WasmPkgDto> for WasmPkg
impl From<WasmPkgDto> for WasmPkg
Source§fn from(value: WasmPkgDto) -> Self
fn from(value: WasmPkgDto) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WasmPkgDto
impl RefUnwindSafe for WasmPkgDto
impl Send for WasmPkgDto
impl Sync for WasmPkgDto
impl Unpin for WasmPkgDto
impl UnwindSafe for WasmPkgDto
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