pub struct BotStopped {
pub run_id: Option<String>,
pub status: Option<String>,
}Fields§
§run_id: Option<String>RunID is the run that was stopped.
status: Option<String>Status is the run’s terminal state: "stopped".
Implementations§
Source§impl BotStopped
impl BotStopped
pub fn new() -> BotStopped
Trait Implementations§
Source§impl Clone for BotStopped
impl Clone for BotStopped
Source§fn clone(&self) -> BotStopped
fn clone(&self) -> BotStopped
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BotStopped
impl Debug for BotStopped
Source§impl Default for BotStopped
impl Default for BotStopped
Source§fn default() -> BotStopped
fn default() -> BotStopped
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BotStopped
impl<'de> Deserialize<'de> for BotStopped
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
Source§impl PartialEq for BotStopped
impl PartialEq for BotStopped
Source§impl Serialize for BotStopped
impl Serialize for BotStopped
impl StructuralPartialEq for BotStopped
Auto Trait Implementations§
impl Freeze for BotStopped
impl RefUnwindSafe for BotStopped
impl Send for BotStopped
impl Sync for BotStopped
impl Unpin for BotStopped
impl UnsafeUnpin for BotStopped
impl UnwindSafe for BotStopped
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