pub struct Cancellable {
pub earliest_cancellation_date: Date,
pub reservation_possible: bool,
pub cancellation_reasons: Vec<String>,
}
Expand description
Describes possibility of cancellation for a server.
Fields§
§earliest_cancellation_date: Date
Earliest date at which it is possible to cancel the server.
reservation_possible: bool
Indicates whether the current server location is eligible for reservation after server cancellation
cancellation_reasons: Vec<String>
List of possible reasons for cancellations.
Trait Implementations§
Source§impl Debug for Cancellable
impl Debug for Cancellable
Source§impl<'de> Deserialize<'de> for Cancellable
impl<'de> Deserialize<'de> for Cancellable
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 Cancellable
impl RefUnwindSafe for Cancellable
impl Send for Cancellable
impl Sync for Cancellable
impl Unpin for Cancellable
impl UnwindSafe for Cancellable
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