pub struct ScheduleProposal {
pub cron: String,
pub message: String,
pub asked_for: Option<String>,
pub proposed_at: String,
}Expand description
A schedule an agent asked for and a person has not yet granted.
Fields§
§cron: String§message: String§asked_for: Option<String>What the user actually said, kept verbatim: a cron expression is not reviewable on its own, and the reviewer is being asked whether this is what they meant.
proposed_at: StringTrait Implementations§
Source§impl Clone for ScheduleProposal
impl Clone for ScheduleProposal
Source§fn clone(&self) -> ScheduleProposal
fn clone(&self) -> ScheduleProposal
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 ScheduleProposal
impl Debug for ScheduleProposal
Source§impl<'de> Deserialize<'de> for ScheduleProposal
impl<'de> Deserialize<'de> for ScheduleProposal
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 ScheduleProposal
impl PartialEq for ScheduleProposal
Source§impl Serialize for ScheduleProposal
impl Serialize for ScheduleProposal
impl StructuralPartialEq for ScheduleProposal
Auto Trait Implementations§
impl Freeze for ScheduleProposal
impl RefUnwindSafe for ScheduleProposal
impl Send for ScheduleProposal
impl Sync for ScheduleProposal
impl Unpin for ScheduleProposal
impl UnsafeUnpin for ScheduleProposal
impl UnwindSafe for ScheduleProposal
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