pub struct OrgRefV1 {
pub id: String,
pub name: String,
pub kind: Option<String>,
pub company: Option<CompanyRefV1>,
}Expand description
Organization reference: the workspace the instance enrolls in.
Fields§
§id: String§name: String§kind: Option<String>personal | team (Hive C line, additive); older servers omit it.
company: Option<CompanyRefV1>The company a team belongs to (Hive C line, additive).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrgRefV1
impl<'de> Deserialize<'de> for OrgRefV1
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 Eq for OrgRefV1
impl StructuralPartialEq for OrgRefV1
Auto Trait Implementations§
impl Freeze for OrgRefV1
impl RefUnwindSafe for OrgRefV1
impl Send for OrgRefV1
impl Sync for OrgRefV1
impl Unpin for OrgRefV1
impl UnsafeUnpin for OrgRefV1
impl UnwindSafe for OrgRefV1
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