#[non_exhaustive]pub struct CreateKxChangesetOutput {
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 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 requests.
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.
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>
The details of the error that you receive when creating a changeset. It consists of the type of error and the error message.
Implementations§
source§impl CreateKxChangesetOutput
impl CreateKxChangesetOutput
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 requests.
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 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>
The details of the error that you receive when creating a changeset. It consists of the type of error and the error message.
source§impl CreateKxChangesetOutput
impl CreateKxChangesetOutput
sourcepub fn builder() -> CreateKxChangesetOutputBuilder
pub fn builder() -> CreateKxChangesetOutputBuilder
Creates a new builder-style object to manufacture CreateKxChangesetOutput
.
Trait Implementations§
source§impl Clone for CreateKxChangesetOutput
impl Clone for CreateKxChangesetOutput
source§fn clone(&self) -> CreateKxChangesetOutput
fn clone(&self) -> CreateKxChangesetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateKxChangesetOutput
impl Debug for CreateKxChangesetOutput
source§impl PartialEq for CreateKxChangesetOutput
impl PartialEq for CreateKxChangesetOutput
source§fn eq(&self, other: &CreateKxChangesetOutput) -> bool
fn eq(&self, other: &CreateKxChangesetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateKxChangesetOutput
impl RequestId for CreateKxChangesetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.