Struct aws_sdk_finspace::types::ChangeRequest
source · #[non_exhaustive]pub struct ChangeRequest {
pub change_type: ChangeType,
pub s3_path: Option<String>,
pub db_path: String,
}Expand description
A list of change request objects.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.change_type: ChangeTypeDefines the type of change request. A changeType can have the following values:
-
PUT – Adds or updates files in a database.
-
DELETE – Deletes files in a database.
s3_path: Option<String>Defines the S3 path of the source file that is required to add or update files in a database.
db_path: StringDefines the path within the database directory.
Implementations§
source§impl ChangeRequest
impl ChangeRequest
sourcepub fn change_type(&self) -> &ChangeType
pub fn change_type(&self) -> &ChangeType
Defines the type of change request. A changeType can have the following values:
-
PUT – Adds or updates files in a database.
-
DELETE – Deletes files in a database.
source§impl ChangeRequest
impl ChangeRequest
sourcepub fn builder() -> ChangeRequestBuilder
pub fn builder() -> ChangeRequestBuilder
Creates a new builder-style object to manufacture ChangeRequest.
Trait Implementations§
source§impl Clone for ChangeRequest
impl Clone for ChangeRequest
source§fn clone(&self) -> ChangeRequest
fn clone(&self) -> ChangeRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ChangeRequest
impl Debug for ChangeRequest
source§impl PartialEq for ChangeRequest
impl PartialEq for ChangeRequest
source§fn eq(&self, other: &ChangeRequest) -> bool
fn eq(&self, other: &ChangeRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChangeRequest
Auto Trait Implementations§
impl Freeze for ChangeRequest
impl RefUnwindSafe for ChangeRequest
impl Send for ChangeRequest
impl Sync for ChangeRequest
impl Unpin for ChangeRequest
impl UnwindSafe for ChangeRequest
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.