#[non_exhaustive]pub struct GetKxChangesetOutput {
pub changeset_id: Option<String>,
pub database_name: Option<String>,
pub environment_id: Option<String>,
pub change_requests: Option<Vec<ChangeRequest>>,
pub created_timestamp: Option<DateTime>,
pub active_from_timestamp: Option<DateTime>,
pub last_modified_timestamp: Option<DateTime>,
pub status: Option<ChangesetStatus>,
pub error_info: Option<ErrorInfo>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.changeset_id: Option<String>
A unique identifier for the changeset.
database_name: Option<String>
The name of the kdb database.
environment_id: Option<String>
A unique identifier for the kdb environment.
change_requests: Option<Vec<ChangeRequest>>
A list of change request objects that are run in order.
created_timestamp: Option<DateTime>
The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
active_from_timestamp: Option<DateTime>
Beginning time from which the changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
last_modified_timestamp: Option<DateTime>
The timestamp at which the changeset was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
status: Option<ChangesetStatus>
Status of the changeset creation process.
-
Pending – Changeset creation is pending.
-
Processing – Changeset creation is running.
-
Failed – Changeset creation has failed.
-
Complete – Changeset creation has succeeded.
error_info: Option<ErrorInfo>
Provides details in the event of a failed flow, including the error type and the related error message.
Implementations§
source§impl GetKxChangesetOutput
impl GetKxChangesetOutput
sourcepub fn changeset_id(&self) -> Option<&str>
pub fn changeset_id(&self) -> Option<&str>
A unique identifier for the changeset.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the kdb database.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
A unique identifier for the kdb environment.
sourcepub fn change_requests(&self) -> &[ChangeRequest]
pub fn change_requests(&self) -> &[ChangeRequest]
A list of change request objects that are run in order.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .change_requests.is_none()
.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The timestamp at which the changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn active_from_timestamp(&self) -> Option<&DateTime>
pub fn active_from_timestamp(&self) -> Option<&DateTime>
Beginning time from which the changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn last_modified_timestamp(&self) -> Option<&DateTime>
pub fn last_modified_timestamp(&self) -> Option<&DateTime>
The timestamp at which the changeset was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn status(&self) -> Option<&ChangesetStatus>
pub fn status(&self) -> Option<&ChangesetStatus>
Status of the changeset creation process.
-
Pending – Changeset creation is pending.
-
Processing – Changeset creation is running.
-
Failed – Changeset creation has failed.
-
Complete – Changeset creation has succeeded.
sourcepub fn error_info(&self) -> Option<&ErrorInfo>
pub fn error_info(&self) -> Option<&ErrorInfo>
Provides details in the event of a failed flow, including the error type and the related error message.
source§impl GetKxChangesetOutput
impl GetKxChangesetOutput
sourcepub fn builder() -> GetKxChangesetOutputBuilder
pub fn builder() -> GetKxChangesetOutputBuilder
Creates a new builder-style object to manufacture GetKxChangesetOutput
.
Trait Implementations§
source§impl Clone for GetKxChangesetOutput
impl Clone for GetKxChangesetOutput
source§fn clone(&self) -> GetKxChangesetOutput
fn clone(&self) -> GetKxChangesetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetKxChangesetOutput
impl Debug for GetKxChangesetOutput
source§impl PartialEq for GetKxChangesetOutput
impl PartialEq for GetKxChangesetOutput
source§fn eq(&self, other: &GetKxChangesetOutput) -> bool
fn eq(&self, other: &GetKxChangesetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetKxChangesetOutput
impl RequestId for GetKxChangesetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.