[−][src]Struct zenkit::types::Workspace
Workspace
Fields
id: ID
workspace id
short_id: ShortId
workspace short id
uuid: UUID
workspace uuid
name: String
workspace name
description: Option<String>
workspace description
is_default: bool
whether this is user's default workspace
created_at: DateTime<Utc>
The timestamp at which this element was created
updated_at: DateTime<Utc>
The timestamp at which this element was last updated
deprecated_at: Option<DateTime<Utc>>
The timestamp at which this element was deprecated. Is null if not deprecated
background_id: Option<ID>
workspace background theme
created_by: ID
workspace creator user id
lists: Vec<List>
lists in workspace
Implementations
impl Workspace
[src]
pub fn get_description(&self) -> &str
[src]
Returns the workspace description, or an empty string if none was provided
pub fn has_id(&self, id: &str) -> bool
[src]
Returns true if the workspace has the id, uuid, shortId, or name of the parameter
pub fn get_id(&self) -> ID
[src]
pub fn get_uuid(&self) -> &UUID
[src]
Trait Implementations
impl Clone for Workspace
[src]
impl Debug for Workspace
[src]
impl<'de> Deserialize<'de> for Workspace
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Workspace
[src]
impl Serialize for Workspace
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl ZKObjectID for Workspace
[src]
Auto Trait Implementations
impl RefUnwindSafe for Workspace
[src]
impl Send for Workspace
[src]
impl Sync for Workspace
[src]
impl Unpin for Workspace
[src]
impl UnwindSafe for Workspace
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,