pub struct DataExecutionStatus {
pub error_code: Option<String>,
pub error_message: Option<String>,
pub last_refresh_time: Option<DateTime<Utc>>,
pub state: Option<String>,
}
Expand description
The data execution status. A data execution is created to sync a data source object with the latest data from a DataSource. It is usually scheduled to run at background, you can check its state to tell if an execution completes There are several scenarios where a data execution is triggered to run: * Adding a data source creates an associated data source sheet as well as a data execution to sync the data from the data source to the sheet. * Updating a data source creates a data execution to refresh the associated data source sheet similarly. * You can send refresh request to explicitly refresh one or multiple data source objects.
This type is not used in any activity, and only used as part of another schema.
Fields§
§error_code: Option<String>
The error code.
error_message: Option<String>
The error message, which may be empty.
last_refresh_time: Option<DateTime<Utc>>
Gets the time the data last successfully refreshed.
state: Option<String>
The state of the data execution.
Trait Implementations§
Source§impl Clone for DataExecutionStatus
impl Clone for DataExecutionStatus
Source§fn clone(&self) -> DataExecutionStatus
fn clone(&self) -> DataExecutionStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DataExecutionStatus
impl Debug for DataExecutionStatus
Source§impl Default for DataExecutionStatus
impl Default for DataExecutionStatus
Source§fn default() -> DataExecutionStatus
fn default() -> DataExecutionStatus
Source§impl<'de> Deserialize<'de> for DataExecutionStatus
impl<'de> Deserialize<'de> for DataExecutionStatus
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>,
Source§impl Serialize for DataExecutionStatus
impl Serialize for DataExecutionStatus
impl Part for DataExecutionStatus
Auto Trait Implementations§
impl Freeze for DataExecutionStatus
impl RefUnwindSafe for DataExecutionStatus
impl Send for DataExecutionStatus
impl Sync for DataExecutionStatus
impl Unpin for DataExecutionStatus
impl UnwindSafe for DataExecutionStatus
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