Struct asana::models::workspace_response::WorkspaceResponse
source · [−]pub struct WorkspaceResponse {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub email_domains: Option<Vec<String>>,
pub is_organization: Option<bool>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
name: Option<String>
The name of the workspace.
email_domains: Option<Vec<String>>
The email domains that are associated with this workspace.
is_organization: Option<bool>
Whether the workspace is an organization.
Implementations
sourceimpl WorkspaceResponse
impl WorkspaceResponse
pub fn new() -> WorkspaceResponse
Trait Implementations
sourceimpl Clone for WorkspaceResponse
impl Clone for WorkspaceResponse
sourcefn clone(&self) -> WorkspaceResponse
fn clone(&self) -> WorkspaceResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WorkspaceResponse
impl Debug for WorkspaceResponse
sourceimpl<'de> Deserialize<'de> for WorkspaceResponse
impl<'de> Deserialize<'de> for WorkspaceResponse
sourcefn 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
sourceimpl PartialEq<WorkspaceResponse> for WorkspaceResponse
impl PartialEq<WorkspaceResponse> for WorkspaceResponse
sourcefn eq(&self, other: &WorkspaceResponse) -> bool
fn eq(&self, other: &WorkspaceResponse) -> bool
sourceimpl Serialize for WorkspaceResponse
impl Serialize for WorkspaceResponse
impl StructuralPartialEq for WorkspaceResponse
Auto Trait Implementations
impl RefUnwindSafe for WorkspaceResponse
impl Send for WorkspaceResponse
impl Sync for WorkspaceResponse
impl Unpin for WorkspaceResponse
impl UnwindSafe for WorkspaceResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more