pub struct ApiWork {
pub string: String,
pub result: String,
pub nonce: u64,
pub key: String,
pub time: Option<u32>,
pub worker_type: Option<String>,
}
Fields§
§string: String
§result: String
§nonce: u64
§key: String
§time: Option<u32>
§worker_type: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for ApiWork
impl<'de> Deserialize<'de> for ApiWork
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 RefUnwindSafe for ApiWork
impl Send for ApiWork
impl Sync for ApiWork
impl Unpin for ApiWork
impl UnwindSafe for ApiWork
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