pub struct Fetch {
pub id: String,
pub bytes: u64,
pub param: String,
}Expand description
The Fleet.Ask kinds that are not a remedy: answered at once, no case opened.
A product’s own order (ProductOrder) and the file it may carry (Fetch), MONETIZE-FIX.
A file a product order carries, named by its content.
Fields§
§id: StringThe file’s sha256, lowercase hex: what the box asks for and checks what it got against.
bytes: u64§param: StringThe declared param the file is (the operator’s --file <param>=<path>).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fetch
impl<'de> Deserialize<'de> for Fetch
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Fetch, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Fetch, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Fetch
Source§impl Serialize for Fetch
impl Serialize for Fetch
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Fetch
Auto Trait Implementations§
impl Freeze for Fetch
impl RefUnwindSafe for Fetch
impl Send for Fetch
impl Sync for Fetch
impl Unpin for Fetch
impl UnsafeUnpin for Fetch
impl UnwindSafe for Fetch
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