pub struct WireManifest {
pub abi_version: u32,
pub handler: String,
pub format: String,
pub writable: bool,
}Expand description
What a module says about itself at load time, read once from
plugin_manifest. This is why registration can read a directory rather
than a config file: the module names itself.
Fields§
§abi_version: u32Must equal ABI_VERSION or the host refuses the module.
handler: StringThe handler’s own name — skidbladnir, rust-toolchain, …
format: StringThe holger_traits::ArtifactFormat this handler reports, as its
serde-lowercase spelling (znippy, maven3, …). The host parses it and
refuses an unknown one by name rather than falling back to raw.
writable: boolWhether put is expected to succeed.
Implementations§
Trait Implementations§
Source§impl Clone for WireManifest
impl Clone for WireManifest
Source§fn clone(&self) -> WireManifest
fn clone(&self) -> WireManifest
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 WireManifest
impl Debug for WireManifest
impl Eq for WireManifest
Source§impl PartialEq for WireManifest
impl PartialEq for WireManifest
impl StructuralPartialEq for WireManifest
Auto Trait Implementations§
impl Freeze for WireManifest
impl RefUnwindSafe for WireManifest
impl Send for WireManifest
impl Sync for WireManifest
impl Unpin for WireManifest
impl UnsafeUnpin for WireManifest
impl UnwindSafe for WireManifest
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