pub struct File {
pub status: Option<String>,
pub kind: Option<String>,
pub format: Option<String>,
pub date_range: Option<DateRange>,
pub file_name: Option<String>,
pub etag: Option<String>,
pub report_id: Option<String>,
pub urls: Option<FileUrls>,
pub last_modified_time: Option<String>,
pub id: Option<String>,
}
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§
§status: Option<String>
The status of the report file.
kind: Option<String>
The kind of resource this is, in this case dfareporting#file.
format: Option<String>
The output format of the report. Only available once the file is available.
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.
file_name: Option<String>
The filename of the file.
etag: Option<String>
The eTag of this response for caching purposes.
report_id: Option<String>
The ID of the report this file was generated from.
urls: Option<FileUrls>
The URLs where the completed report file can be downloaded.
last_modified_time: Option<String>
The timestamp in milliseconds since epoch when this file was last modified.
id: Option<String>
The unique ID of this report file.
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> 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