pub struct ApplyOptions<'a> {
pub approved: bool,
pub actor: Option<&'a str>,
pub now: Option<DateTime<Utc>>,
}Expand description
Controls approval, attribution, and time for delta application.
Fields§
§approved: boolWhether a propose writeback policy has explicit human approval.
actor: Option<&'a str>Actor recorded in the appended history entry.
now: Option<DateTime<Utc>>Deterministic timestamp override; current UTC time is used when absent.
Trait Implementations§
Source§impl<'a> Default for ApplyOptions<'a>
impl<'a> Default for ApplyOptions<'a>
Source§fn default() -> ApplyOptions<'a>
fn default() -> ApplyOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ApplyOptions<'a>
impl<'a> RefUnwindSafe for ApplyOptions<'a>
impl<'a> Send for ApplyOptions<'a>
impl<'a> Sync for ApplyOptions<'a>
impl<'a> Unpin for ApplyOptions<'a>
impl<'a> UnsafeUnpin for ApplyOptions<'a>
impl<'a> UnwindSafe for ApplyOptions<'a>
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