Struct contentful::models::SystemProperties
source · pub struct SystemProperties {
pub id: String,
pub version: Option<i32>,
pub revision: Option<i32>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
}
Fields§
§id: String
§version: Option<i32>
§revision: Option<i32>
§created_at: Option<DateTime<Utc>>
§updated_at: Option<DateTime<Utc>>
Implementations§
source§impl SystemProperties
impl SystemProperties
pub fn new(id: String) -> SystemProperties
pub fn with_version(id: String, version: i32) -> SystemProperties
Trait Implementations§
source§impl Clone for SystemProperties
impl Clone for SystemProperties
source§fn clone(&self) -> SystemProperties
fn clone(&self) -> SystemProperties
Returns a copy of the value. Read more
1.0.0 · 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 SystemProperties
impl Debug for SystemProperties
source§impl<'de> Deserialize<'de> for SystemProperties
impl<'de> Deserialize<'de> for SystemProperties
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
Auto Trait Implementations§
impl RefUnwindSafe for SystemProperties
impl Send for SystemProperties
impl Sync for SystemProperties
impl Unpin for SystemProperties
impl UnwindSafe for SystemProperties
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