pub struct File {
pub date_range: Option<DateRange>,
pub etag: Option<String>,
pub file_name: Option<String>,
pub format: Option<String>,
pub id: Option<i64>,
pub kind: Option<String>,
pub last_modified_time: Option<i64>,
pub report_id: Option<i64>,
pub status: Option<String>,
pub urls: Option<FileUrls>,
}
Expand description
Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is “REPORT_AVAILABLE”.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get files (response)
- list files (none)
- files get reports (response)
- run reports (response)
Fields§
§date_range: Option<DateRange>
The date range for which the file has report data. The date range will always be the absolute date range for which the report is run.
etag: Option<String>
The eTag of this response for caching purposes.
file_name: Option<String>
The filename of the file.
format: Option<String>
The output format of the report. Only available once the file is available.
id: Option<i64>
The unique ID of this report file.
kind: Option<String>
The kind of resource this is, in this case dfareporting#file.
last_modified_time: Option<i64>
The timestamp in milliseconds since epoch when this file was last modified.
report_id: Option<i64>
The ID of the report this file was generated from.
status: Option<String>
The status of the report file.
urls: Option<FileUrls>
The URLs where the completed report file can be downloaded.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for File
impl<'de> Deserialize<'de> for File
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>,
impl Resource for File
impl ResponseResult for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more