pub struct Organization {
pub id: u64,
pub name: Option<String>,
pub shared: Option<bool>,
pub domain: Option<String>,
pub domain_assignment: Option<bool>,
pub active: Option<bool>,
pub note: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub extra: Map<String, Value>,
}Expand description
A Zammad organization.
Fields§
§id: u64Numeric organization ID.
name: Option<String>Display name.
Whether the organization is shared with all agents.
domain: Option<String>Email domain used for automatic assignment.
domain_assignment: Option<bool>Whether new users with @domain emails get auto-assigned.
active: Option<bool>Whether the organization is active.
note: Option<String>Free-form internal note.
created_at: Option<DateTime<Utc>>When the organization was created.
updated_at: Option<DateTime<Utc>>When the organization was last updated.
extra: Map<String, Value>Any attribute not modelled above (incl. custom fields).
Trait Implementations§
Source§impl Clone for Organization
impl Clone for Organization
Source§fn clone(&self) -> Organization
fn clone(&self) -> Organization
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 Organization
impl Debug for Organization
Source§impl<'de> Deserialize<'de> for Organization
impl<'de> Deserialize<'de> for Organization
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 Organization
impl RefUnwindSafe for Organization
impl Send for Organization
impl Sync for Organization
impl Unpin for Organization
impl UnsafeUnpin for Organization
impl UnwindSafe for Organization
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