pub struct SwapScheduleMsg {
pub amount: SwapAmountMsg,
pub rollover: String,
pub triple_weekday: String,
pub skipped_weekdays: Vec<String>,
}Expand description
Wire-safe nightly swap magnitude plus the rollover calendar that charges it.
Fields§
§amount: SwapAmountMsg§rollover: StringRollover time of day in the replay’s timestamp zone, as HH:MM:SS.
triple_weekday: StringWeekday whose rollover charges three nights, as Mon through Sun.
skipped_weekdays: Vec<String>Weekdays whose rollover charges nothing. Defaults to Sat and Sun when omitted.
Trait Implementations§
Source§impl Clone for SwapScheduleMsg
impl Clone for SwapScheduleMsg
Source§impl Debug for SwapScheduleMsg
impl Debug for SwapScheduleMsg
Source§impl<'de> Deserialize<'de> for SwapScheduleMsg
impl<'de> Deserialize<'de> for SwapScheduleMsg
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
Auto Trait Implementations§
impl Freeze for SwapScheduleMsg
impl RefUnwindSafe for SwapScheduleMsg
impl Send for SwapScheduleMsg
impl Sync for SwapScheduleMsg
impl Unpin for SwapScheduleMsg
impl UnsafeUnpin for SwapScheduleMsg
impl UnwindSafe for SwapScheduleMsg
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