pub struct PluginArtifact {
pub target: String,
pub kind: ArtifactKind,
pub url: String,
pub sha256: String,
pub bytes: u64,
}Expand description
One build of a plugin.
Fields§
§target: Stringwasm32, or the Rust target triple a native artifact is built for.
kind: ArtifactKindWhat kind of code it is.
url: StringWhere it is: a path under the manifest’s own directory, or an absolute https: URL.
sha256: StringSHA-256 of its bytes, 64 lowercase hexadecimal digits.
bytes: u64Its length in bytes.
Trait Implementations§
Source§impl Clone for PluginArtifact
impl Clone for PluginArtifact
Source§impl Debug for PluginArtifact
impl Debug for PluginArtifact
Source§impl<'de> Deserialize<'de> for PluginArtifact
impl<'de> Deserialize<'de> for PluginArtifact
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 PartialEq for PluginArtifact
impl PartialEq for PluginArtifact
Source§impl Serialize for PluginArtifact
impl Serialize for PluginArtifact
impl StructuralPartialEq for PluginArtifact
Auto Trait Implementations§
impl Forget for PluginArtifact
impl Freeze for PluginArtifact
impl Move for PluginArtifact
impl RefUnwindSafe for PluginArtifact
impl Send for PluginArtifactwhere
RawVecInner: Send,
impl Sync for PluginArtifactwhere
RawVecInner: Sync,
impl Unpin for PluginArtifact
impl UnsafeUnpin for PluginArtifact
impl UnwindSafe for PluginArtifactwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more