pub struct ReservationExpiry {
pub filter: Option<Predicate>,
pub timestamp_field: String,
pub cutoff: Value,
pub statuses: Vec<Value>,
pub to_status: Value,
pub released_at: Option<(String, Value)>,
pub reason: Option<(String, Value)>,
}Expand description
Expiry transition applied before reservation capacity is measured.
Fields§
§filter: Option<Predicate>Additional declared eligibility, such as an unbound checkout reference.
timestamp_field: String§cutoff: Value§statuses: Vec<Value>§to_status: Value§released_at: Option<(String, Value)>§reason: Option<(String, Value)>Trait Implementations§
Source§impl Clone for ReservationExpiry
impl Clone for ReservationExpiry
Source§fn clone(&self) -> ReservationExpiry
fn clone(&self) -> ReservationExpiry
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 ReservationExpiry
impl Debug for ReservationExpiry
Source§impl<'de> Deserialize<'de> for ReservationExpiry
impl<'de> Deserialize<'de> for ReservationExpiry
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 ReservationExpiry
impl PartialEq for ReservationExpiry
Source§fn eq(&self, other: &ReservationExpiry) -> bool
fn eq(&self, other: &ReservationExpiry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReservationExpiry
impl Serialize for ReservationExpiry
impl StructuralPartialEq for ReservationExpiry
Auto Trait Implementations§
impl Freeze for ReservationExpiry
impl RefUnwindSafe for ReservationExpiry
impl Send for ReservationExpiry
impl Sync for ReservationExpiry
impl Unpin for ReservationExpiry
impl UnsafeUnpin for ReservationExpiry
impl UnwindSafe for ReservationExpiry
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