#[non_exhaustive]pub enum ContractStatus {
InProgress,
Transmitted,
Accepted,
Active,
Rejected,
Revoked,
Cancelled,
Terminated,
Ended,
}Expand description
Status of a contract in its lifecycle.
German: Vertragsstatus
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InProgress
In progress/draft (In Arbeit)
Transmitted
Transmitted (Uebermittelt)
Accepted
Accepted (Angenommen)
Active
Active (Aktiv)
Rejected
Rejected (Abgelehnt)
Revoked
Revoked (Widerrufen)
Cancelled
Cancelled (Storniert)
Terminated
Terminated (Gekuendigt)
Ended
Ended (Beendet)
Implementations§
Source§impl ContractStatus
impl ContractStatus
Sourcepub fn german_name(&self) -> &'static str
pub fn german_name(&self) -> &'static str
Returns the German name.
Trait Implementations§
Source§impl Clone for ContractStatus
impl Clone for ContractStatus
Source§fn clone(&self) -> ContractStatus
fn clone(&self) -> ContractStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 ContractStatus
impl Debug for ContractStatus
Source§impl<'de> Deserialize<'de> for ContractStatus
impl<'de> Deserialize<'de> for ContractStatus
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 Hash for ContractStatus
impl Hash for ContractStatus
Source§impl PartialEq for ContractStatus
impl PartialEq for ContractStatus
Source§impl Serialize for ContractStatus
impl Serialize for ContractStatus
impl Copy for ContractStatus
impl Eq for ContractStatus
impl StructuralPartialEq for ContractStatus
Auto Trait Implementations§
impl Freeze for ContractStatus
impl RefUnwindSafe for ContractStatus
impl Send for ContractStatus
impl Sync for ContractStatus
impl Unpin for ContractStatus
impl UnwindSafe for ContractStatus
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