pub struct StorageAvailability {
pub available: bool,
pub protocol_version: String,
}Fields§
§available: bool§protocol_version: StringTrait Implementations§
Source§impl Clone for StorageAvailability
impl Clone for StorageAvailability
Source§fn clone(&self) -> StorageAvailability
fn clone(&self) -> StorageAvailability
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 StorageAvailability
impl Debug for StorageAvailability
Source§impl<'de> Deserialize<'de> for StorageAvailability
impl<'de> Deserialize<'de> for StorageAvailability
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
impl Eq for StorageAvailability
Source§impl PartialEq for StorageAvailability
impl PartialEq for StorageAvailability
Source§impl Serialize for StorageAvailability
impl Serialize for StorageAvailability
impl StructuralPartialEq for StorageAvailability
Auto Trait Implementations§
impl Freeze for StorageAvailability
impl RefUnwindSafe for StorageAvailability
impl Send for StorageAvailability
impl Sync for StorageAvailability
impl Unpin for StorageAvailability
impl UnsafeUnpin for StorageAvailability
impl UnwindSafe for StorageAvailability
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