Struct wildland_corex::storage::StorageTemplate
source · [−]pub struct StorageTemplate { /* private fields */ }
Implementations
sourceimpl StorageTemplate
impl StorageTemplate
pub fn new(inner: Rc<dyn StorageTemplateTrait>) -> Self
pub fn uuid(&self) -> Uuid
pub fn data(&self) -> Vec<u8>
pub fn with_template(storage_template: Rc<dyn StorageTemplateTrait>) -> Self
Trait Implementations
sourceimpl Clone for StorageTemplate
impl Clone for StorageTemplate
sourcefn clone(&self) -> StorageTemplate
fn clone(&self) -> StorageTemplate
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Serialize for StorageTemplate
impl Serialize for StorageTemplate
Auto Trait Implementations
impl !RefUnwindSafe for StorageTemplate
impl !Send for StorageTemplate
impl !Sync for StorageTemplate
impl Unpin for StorageTemplate
impl !UnwindSafe for StorageTemplate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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