pub struct Download {
pub dataset_id: String,
pub format: String,
pub outcome: Outcome,
pub sample: bool,
pub bytes: Option<i64>,
pub http_status: Option<i32>,
pub apikey_id: Option<String>,
pub client_ip: Option<String>,
pub user_agent: Option<String>,
pub created: DateTime<FixedOffset>,
}Expand description
Download : One download ATTEMPT, refusals included.
Fields§
§dataset_id: String§format: String§outcome: Outcome§sample: boolThe evaluation sample rather than the database itself.
bytes: Option<i64>Object size at redirect time, NOT bytes delivered: the transfer is a presigned redirect straight to object storage, so we never observe how much of it was taken.
http_status: Option<i32>§apikey_id: Option<String>The key that made the request. Null when it could not be resolved.
client_ip: Option<String>§user_agent: Option<String>§created: DateTime<FixedOffset>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Download
impl<'de> Deserialize<'de> for Download
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
impl StructuralPartialEq for Download
Auto Trait Implementations§
impl Freeze for Download
impl RefUnwindSafe for Download
impl Send for Download
impl Sync for Download
impl Unpin for Download
impl UnsafeUnpin for Download
impl UnwindSafe for Download
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