pub struct Org {
pub id: String,
pub default: bool,
pub logo: Option<String>,
pub name: String,
}Expand description
Information about an organization
Fields§
§id: StringOrganization ID
default: booltrue if this organization is the default organization for the current authority
logo: Option<String>URI to logo image; may be null if no logo exists
name: StringOrganization name
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Org
impl<'de> Deserialize<'de> for Org
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 Org
Auto Trait Implementations§
impl Freeze for Org
impl RefUnwindSafe for Org
impl Send for Org
impl Sync for Org
impl Unpin for Org
impl UnwindSafe for Org
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