Struct trussed::types::StorageAttributes
source · [−]pub struct StorageAttributes {
pub persistence: Location,
}
Fields
persistence: Location
Implementations
sourceimpl StorageAttributes
impl StorageAttributes
pub fn set_persistence(self, persistence: Location) -> Self
Trait Implementations
sourceimpl Clone for StorageAttributes
impl Clone for StorageAttributes
sourcefn clone(&self) -> StorageAttributes
fn clone(&self) -> StorageAttributes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StorageAttributes
impl Debug for StorageAttributes
sourceimpl Default for StorageAttributes
impl Default for StorageAttributes
sourceimpl<'de> Deserialize<'de> for StorageAttributes
impl<'de> Deserialize<'de> for StorageAttributes
sourcefn 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
sourceimpl PartialEq<StorageAttributes> for StorageAttributes
impl PartialEq<StorageAttributes> for StorageAttributes
sourcefn eq(&self, other: &StorageAttributes) -> bool
fn eq(&self, other: &StorageAttributes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StorageAttributes) -> bool
fn ne(&self, other: &StorageAttributes) -> bool
This method tests for !=
.
sourceimpl Serialize for StorageAttributes
impl Serialize for StorageAttributes
impl Eq for StorageAttributes
impl StructuralEq for StorageAttributes
impl StructuralPartialEq for StorageAttributes
Auto Trait Implementations
impl RefUnwindSafe for StorageAttributes
impl Send for StorageAttributes
impl Sync for StorageAttributes
impl Unpin for StorageAttributes
impl UnwindSafe for StorageAttributes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more