pub struct ServiceState {
pub service_name: String,
pub instance_id: String,
pub service_state: String,
pub error_message: Option<String>,
pub service_result: Option<Value>,
pub id: Uuid,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub created_by: Option<String>,
pub updated_by: Option<String>,
}Expand description
Model for tracking service processing states.
Fields§
§service_name: String§instance_id: String§service_state: String§error_message: Option<String>§service_result: Option<Value>§id: Uuid§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§created_by: Option<String>§updated_by: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ServiceState
impl Clone for ServiceState
Source§fn clone(&self) -> ServiceState
fn clone(&self) -> ServiceState
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 ServiceState
impl Debug for ServiceState
Source§impl<'de> Deserialize<'de> for ServiceState
impl<'de> Deserialize<'de> for ServiceState
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 ServiceState
impl RefUnwindSafe for ServiceState
impl Send for ServiceState
impl Sync for ServiceState
impl Unpin for ServiceState
impl UnwindSafe for ServiceState
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