Enum polywrap_plugin::AnyManifest
source · pub enum AnyManifest {
WrapManifest01(WrapManifest01),
}Variants§
WrapManifest01(WrapManifest01)
Implementations§
source§impl AnyManifest
impl AnyManifest
pub fn version(&self) -> String
pub fn from_json_value(value: Value) -> Result<AnyManifest, Error>
pub fn to_json_value(&self) -> Result<Value, Error>
pub fn get_latest_version() -> String
Trait Implementations§
source§impl Clone for AnyManifest
impl Clone for AnyManifest
source§fn clone(&self) -> AnyManifest
fn clone(&self) -> AnyManifest
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 moreAuto Trait Implementations§
impl RefUnwindSafe for AnyManifest
impl Send for AnyManifest
impl Sync for AnyManifest
impl Unpin for AnyManifest
impl UnwindSafe for AnyManifest
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