pub struct BotManagementWorkspaceResponse {
pub name: String,
pub description: Option<String>,
pub protection_mode: BotManagementProtectionMode,
pub id: String,
pub services: Option<Vec<String>>,
pub created_at: String,
pub updated_at: String,
}Fields§
§name: StringThe display name of the workspace.
description: Option<String>A description of the workspace.
protection_mode: BotManagementProtectionMode§id: StringA UUID used to uniquely identify the workspace.
services: Option<Vec<String>>The IDs of the services attached to this workspace.
created_at: StringThe date and time the workspace was created, in RFC 3339 format.
updated_at: StringThe date and time the workspace was last updated, in RFC 3339 format.
Implementations§
Source§impl BotManagementWorkspaceResponse
impl BotManagementWorkspaceResponse
pub fn new( name: String, protection_mode: BotManagementProtectionMode, id: String, created_at: String, updated_at: String, ) -> BotManagementWorkspaceResponse
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BotManagementWorkspaceResponse
impl<'de> Deserialize<'de> for BotManagementWorkspaceResponse
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 BotManagementWorkspaceResponse
Auto Trait Implementations§
impl Freeze for BotManagementWorkspaceResponse
impl RefUnwindSafe for BotManagementWorkspaceResponse
impl Send for BotManagementWorkspaceResponse
impl Sync for BotManagementWorkspaceResponse
impl Unpin for BotManagementWorkspaceResponse
impl UnsafeUnpin for BotManagementWorkspaceResponse
impl UnwindSafe for BotManagementWorkspaceResponse
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