pub struct WorkResponse {
pub id: String,
pub response_type: String,
pub environment_id: String,
pub state: String,
pub data: WorkData,
pub secret: String,
pub created_at: String,
}Expand description
Work response from poll endpoint
Fields§
§id: String§response_type: String§environment_id: String§state: String§data: WorkData§secret: String§created_at: StringTrait Implementations§
Source§impl Clone for WorkResponse
impl Clone for WorkResponse
Source§fn clone(&self) -> WorkResponse
fn clone(&self) -> WorkResponse
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 WorkResponse
impl Debug for WorkResponse
Source§impl<'de> Deserialize<'de> for WorkResponse
impl<'de> Deserialize<'de> for WorkResponse
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 WorkResponse
impl RefUnwindSafe for WorkResponse
impl Send for WorkResponse
impl Sync for WorkResponse
impl Unpin for WorkResponse
impl UnsafeUnpin for WorkResponse
impl UnwindSafe for WorkResponse
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