pub struct Workspace {
pub id: i32,
pub users: Vec<User>,
pub owner: Option<Box<WorkspaceOwner>>,
pub pending_invites: Vec<WorkspaceInvite>,
pub name: String,
pub is_active: Option<bool>,
pub created: String,
pub modified: String,
pub slug: String,
pub description: String,
pub icon: Option<String>,
}
Fields§
§id: i32
§users: Vec<User>
§owner: Option<Box<WorkspaceOwner>>
§pending_invites: Vec<WorkspaceInvite>
§name: String
The name of the organization
is_active: Option<bool>
§created: String
§modified: String
§slug: String
The name in all lowercase, suitable for URL identification
description: String
§icon: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
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
impl StructuralPartialEq for Workspace
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnwindSafe for Workspace
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