pub struct CancelServiceOrder {
pub base_type: Option<String>,
pub schema_location: Option<String>,
pub type_: Option<String>,
pub cancellation_reason: Option<String>,
pub completion_message: Option<String>,
pub effective_cancellation_date: Option<DateTime>,
pub error_message: Option<ErrorMessage>,
pub href: Option<String>,
pub id: Option<String>,
pub requested_cancellation_date: Option<DateTime>,
pub service_order: Option<ServiceOrderRef>,
pub state: Option<TaskStateType>,
}Expand description
Request for cancellation an existing Service order
Fields§
§base_type: Option<String>When sub-classing, this defines the super-class
schema_location: Option<String>A URI to a JSON-Schema file that defines additional attributes and relationships
type_: Option<String>When sub-classing, this defines the sub-class Extensible name
cancellation_reason: Option<String>Reason why the order is cancelled.
completion_message: Option<String>an optional message describing the completion of the task if it is done as expected or it is denied for a reason (like order in an state of PoNR).
effective_cancellation_date: Option<DateTime>Date when the order is cancelled.
error_message: Option<ErrorMessage>represents an Error
href: Option<String>Hyperlink reference
id: Option<String>unique identifier
requested_cancellation_date: Option<DateTime>Date when the submitter wants the order to be cancelled
service_order: Option<ServiceOrderRef>Service Order reference. Useful to understand the which was the Service order through which the service was instantiated in the service inventory
state: Option<TaskStateType>Possible values for the state of a task
Trait Implementations§
Source§impl Clone for CancelServiceOrder
impl Clone for CancelServiceOrder
Source§fn clone(&self) -> CancelServiceOrder
fn clone(&self) -> CancelServiceOrder
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 CancelServiceOrder
impl Debug for CancelServiceOrder
Source§impl<'de> Deserialize<'de> for CancelServiceOrder
impl<'de> Deserialize<'de> for CancelServiceOrder
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 Display for CancelServiceOrder
impl Display for CancelServiceOrder
Auto Trait Implementations§
impl Freeze for CancelServiceOrder
impl RefUnwindSafe for CancelServiceOrder
impl Send for CancelServiceOrder
impl Sync for CancelServiceOrder
impl Unpin for CancelServiceOrder
impl UnsafeUnpin for CancelServiceOrder
impl UnwindSafe for CancelServiceOrder
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