pub struct Presentation {
pub id: String,
pub provider: Option<String>,
pub account_id: Option<String>,
pub owner_user_id: Option<String>,
pub title: String,
pub description: Option<String>,
pub theme: Option<String>,
pub thumbnail_url: Option<String>,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
pub last_viewed_at: Option<Option<DateTime<FixedOffset>>>,
}Expand description
Presentation : A slide deck. Presentations belong to one connected account (accountId + provider). Native deck storage lives in Spatio’s DB; external providers (Google Slides, etc.) round-trip.
Fields§
§id: String§provider: Option<String>§account_id: Option<String>§owner_user_id: Option<String>§title: String§description: Option<String>§theme: Option<String>Free-form theme id; provider-specific.
thumbnail_url: Option<String>§created_at: DateTime<FixedOffset>§updated_at: DateTime<FixedOffset>§last_viewed_at: Option<Option<DateTime<FixedOffset>>>Implementations§
Source§impl Presentation
impl Presentation
Sourcepub fn new(
id: String,
title: String,
created_at: DateTime<FixedOffset>,
updated_at: DateTime<FixedOffset>,
) -> Presentation
pub fn new( id: String, title: String, created_at: DateTime<FixedOffset>, updated_at: DateTime<FixedOffset>, ) -> Presentation
A slide deck. Presentations belong to one connected account (accountId + provider). Native deck storage lives in Spatio’s DB; external providers (Google Slides, etc.) round-trip.
Trait Implementations§
Source§impl Clone for Presentation
impl Clone for Presentation
Source§fn clone(&self) -> Presentation
fn clone(&self) -> Presentation
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 Presentation
impl Debug for Presentation
Source§impl Default for Presentation
impl Default for Presentation
Source§fn default() -> Presentation
fn default() -> Presentation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Presentation
impl<'de> Deserialize<'de> for Presentation
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 Presentation
impl PartialEq for Presentation
Source§fn eq(&self, other: &Presentation) -> bool
fn eq(&self, other: &Presentation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Presentation
impl Serialize for Presentation
impl StructuralPartialEq for Presentation
Auto Trait Implementations§
impl Freeze for Presentation
impl RefUnwindSafe for Presentation
impl Send for Presentation
impl Sync for Presentation
impl Unpin for Presentation
impl UnsafeUnpin for Presentation
impl UnwindSafe for Presentation
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