pub struct Collaboration {
pub id: u64,
pub collaboration_type: Option<String>,
pub document_id: Option<String>,
pub user_id: Option<u64>,
pub context_id: Option<u64>,
pub context_type: Option<String>,
pub url: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub description: Option<String>,
pub title: Option<String>,
pub user_name: Option<String>,
/* private fields */
}Expand description
A Canvas collaboration (Google Docs, Etherpad, etc.).
Fields§
§id: u64§collaboration_type: Option<String>§document_id: Option<String>§user_id: Option<u64>§context_id: Option<u64>§context_type: Option<String>§url: Option<String>§created_at: Option<DateTime<Utc>>§updated_at: Option<DateTime<Utc>>§description: Option<String>§title: Option<String>§user_name: Option<String>Implementations§
Source§impl Collaboration
impl Collaboration
Sourcepub fn get_collaborators(&self) -> PageStream<Collaborator>
pub fn get_collaborators(&self) -> PageStream<Collaborator>
Trait Implementations§
Source§impl Clone for Collaboration
impl Clone for Collaboration
Source§fn clone(&self) -> Collaboration
fn clone(&self) -> Collaboration
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 Collaboration
impl Debug for Collaboration
Source§impl<'de> Deserialize<'de> for Collaboration
impl<'de> Deserialize<'de> for Collaboration
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 Freeze for Collaboration
impl !RefUnwindSafe for Collaboration
impl Send for Collaboration
impl Sync for Collaboration
impl Unpin for Collaboration
impl UnsafeUnpin for Collaboration
impl !UnwindSafe for Collaboration
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