pub struct ProjectDataRetention {
pub object: String,
pub type: ProjectDataRetentionType,
}Available on crate feature
administration-types only.Expand description
Represents a project’s data retention control setting.
Fields§
§object: StringThe object type, which is always project.data_retention.
type: ProjectDataRetentionTypeThe configured project data retention type.
Trait Implementations§
Source§impl Clone for ProjectDataRetention
impl Clone for ProjectDataRetention
Source§fn clone(&self) -> ProjectDataRetention
fn clone(&self) -> ProjectDataRetention
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 ProjectDataRetention
impl Debug for ProjectDataRetention
Source§impl<'de> Deserialize<'de> for ProjectDataRetention
impl<'de> Deserialize<'de> for ProjectDataRetention
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 ProjectDataRetention
impl PartialEq for ProjectDataRetention
Source§impl Serialize for ProjectDataRetention
impl Serialize for ProjectDataRetention
impl StructuralPartialEq for ProjectDataRetention
Auto Trait Implementations§
impl Freeze for ProjectDataRetention
impl RefUnwindSafe for ProjectDataRetention
impl Send for ProjectDataRetention
impl Sync for ProjectDataRetention
impl Unpin for ProjectDataRetention
impl UnsafeUnpin for ProjectDataRetention
impl UnwindSafe for ProjectDataRetention
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