pub struct Directory {
pub object: String,
pub id: String,
pub organization_id: String,
pub external_key: String,
pub type_: DirectoryType,
pub state: DirectoryState,
pub name: String,
pub domain: Option<String>,
pub metadata: Option<DirectoryMetadata>,
pub created_at: String,
pub updated_at: String,
}Fields§
§object: StringDistinguishes the Directory object.
id: StringUnique identifier for the Directory.
organization_id: StringThe unique identifier for the Organization in which the directory resides.
external_key: StringExternal Key for the Directory.
type_: DirectoryTypeThe type of external Directory Provider integrated with.
state: DirectoryStateDescribes whether the Directory has been successfully connected to an external provider.
name: StringThe name of the directory.
domain: Option<String>The URL associated with an Enterprise Client.
metadata: Option<DirectoryMetadata>Aggregate counts of directory users and groups synced from the provider.
created_at: StringAn ISO 8601 timestamp.
updated_at: StringAn ISO 8601 timestamp.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Directory
impl<'de> Deserialize<'de> for Directory
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 Directory
impl RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnsafeUnpin for Directory
impl UnwindSafe for Directory
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