pub struct BotOwner {
pub type: String,
pub workspace: bool,
}
Expand description
Information about who owns this bot.
Fields§
§type: String
The type of owner, either “workspace” or “user”.
workspace: bool
Whether the bot’s owner is the workspace.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BotOwner
impl<'de> Deserialize<'de> for BotOwner
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 BotOwner
impl StructuralPartialEq for BotOwner
Auto Trait Implementations§
impl Freeze for BotOwner
impl RefUnwindSafe for BotOwner
impl Send for BotOwner
impl Sync for BotOwner
impl Unpin for BotOwner
impl UnwindSafe for BotOwner
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