Enum subxt_codegen::utils::MetadataVersion
source · pub enum MetadataVersion {
Latest,
Version(u32),
Unstable,
}
Expand description
The metadata version that is fetched from the node.
Variants§
Latest
Latest stable version of the metadata.
Version(u32)
Fetch a specified version of the metadata.
Unstable
Latest unstable version of the metadata.
Trait Implementations§
source§impl Clone for MetadataVersion
impl Clone for MetadataVersion
source§fn clone(&self) -> MetadataVersion
fn clone(&self) -> MetadataVersion
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 moresource§impl Debug for MetadataVersion
impl Debug for MetadataVersion
source§impl Default for MetadataVersion
impl Default for MetadataVersion
source§fn default() -> MetadataVersion
fn default() -> MetadataVersion
Returns the “default value” for a type. Read more
source§impl FromStr for MetadataVersion
impl FromStr for MetadataVersion
impl Copy for MetadataVersion
Auto Trait Implementations§
impl RefUnwindSafe for MetadataVersion
impl Send for MetadataVersion
impl Sync for MetadataVersion
impl Unpin for MetadataVersion
impl UnwindSafe for MetadataVersion
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