pub struct CommandResource {Show 19 fields
pub id: Option<i32>,
pub name: Option<Option<String>>,
pub command_name: Option<Option<String>>,
pub message: Option<Option<String>>,
pub body: Option<Box<Command>>,
pub priority: Option<CommandPriority>,
pub status: Option<CommandStatus>,
pub result: Option<CommandResult>,
pub queued: Option<String>,
pub started: Option<Option<String>>,
pub ended: Option<Option<String>>,
pub duration: Option<String>,
pub exception: Option<Option<String>>,
pub trigger: Option<CommandTrigger>,
pub client_user_agent: Option<Option<String>>,
pub state_change_time: Option<Option<String>>,
pub send_updates_to_client: Option<bool>,
pub update_scheduled_task: Option<bool>,
pub last_execution_time: Option<Option<String>>,
}
Fields§
§id: Option<i32>
§name: Option<Option<String>>
§command_name: Option<Option<String>>
§message: Option<Option<String>>
§body: Option<Box<Command>>
§priority: Option<CommandPriority>
§status: Option<CommandStatus>
§result: Option<CommandResult>
§queued: Option<String>
§started: Option<Option<String>>
§ended: Option<Option<String>>
§duration: Option<String>
§exception: Option<Option<String>>
§trigger: Option<CommandTrigger>
§client_user_agent: Option<Option<String>>
§state_change_time: Option<Option<String>>
§send_updates_to_client: Option<bool>
§update_scheduled_task: Option<bool>
§last_execution_time: Option<Option<String>>
Implementations§
Source§impl CommandResource
impl CommandResource
pub fn new() -> CommandResource
Trait Implementations§
Source§impl Clone for CommandResource
impl Clone for CommandResource
Source§fn clone(&self) -> CommandResource
fn clone(&self) -> CommandResource
Returns a copy of the value. Read more
1.0.0 · 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 CommandResource
impl Debug for CommandResource
Source§impl<'de> Deserialize<'de> for CommandResource
impl<'de> Deserialize<'de> for CommandResource
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 CommandResource
impl PartialEq for CommandResource
Source§impl Serialize for CommandResource
impl Serialize for CommandResource
impl StructuralPartialEq for CommandResource
Auto Trait Implementations§
impl Freeze for CommandResource
impl RefUnwindSafe for CommandResource
impl Send for CommandResource
impl Sync for CommandResource
impl Unpin for CommandResource
impl UnwindSafe for CommandResource
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