pub struct PostStoragePolicy {
pub type: StoragePolicyType,
pub id: String,
}Fields§
§type: StoragePolicyType§id: StringTrait Implementations§
Source§impl Clone for PostStoragePolicy
impl Clone for PostStoragePolicy
Source§fn clone(&self) -> PostStoragePolicy
fn clone(&self) -> PostStoragePolicy
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 PostStoragePolicy
impl Debug for PostStoragePolicy
Source§impl Default for PostStoragePolicy
impl Default for PostStoragePolicy
Source§fn default() -> PostStoragePolicy
fn default() -> PostStoragePolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostStoragePolicy
impl<'de> Deserialize<'de> for PostStoragePolicy
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
Source§impl PartialEq for PostStoragePolicy
impl PartialEq for PostStoragePolicy
Source§impl Serialize for PostStoragePolicy
impl Serialize for PostStoragePolicy
impl StructuralPartialEq for PostStoragePolicy
Auto Trait Implementations§
impl Freeze for PostStoragePolicy
impl RefUnwindSafe for PostStoragePolicy
impl Send for PostStoragePolicy
impl Sync for PostStoragePolicy
impl Unpin for PostStoragePolicy
impl UnsafeUnpin for PostStoragePolicy
impl UnwindSafe for PostStoragePolicy
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