Struct aws_sdk_m2::types::PrimaryKey
source · #[non_exhaustive]pub struct PrimaryKey {
pub name: Option<String>,
pub offset: i32,
pub length: i32,
}Expand description
The primary key for a KSDS data set.
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.name: Option<String>A name for the Primary Key.
offset: i32A positive integer value representing the offset to mark the start of the primary key in the record byte array.
length: i32A strictly positive integer value representing the length of the primary key.
Implementations§
source§impl PrimaryKey
impl PrimaryKey
source§impl PrimaryKey
impl PrimaryKey
sourcepub fn builder() -> PrimaryKeyBuilder
pub fn builder() -> PrimaryKeyBuilder
Creates a new builder-style object to manufacture PrimaryKey.
Trait Implementations§
source§impl Clone for PrimaryKey
impl Clone for PrimaryKey
source§fn clone(&self) -> PrimaryKey
fn clone(&self) -> PrimaryKey
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 PrimaryKey
impl Debug for PrimaryKey
source§impl PartialEq for PrimaryKey
impl PartialEq for PrimaryKey
source§fn eq(&self, other: &PrimaryKey) -> bool
fn eq(&self, other: &PrimaryKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PrimaryKey
Auto Trait Implementations§
impl RefUnwindSafe for PrimaryKey
impl Send for PrimaryKey
impl Sync for PrimaryKey
impl Unpin for PrimaryKey
impl UnwindSafe for PrimaryKey
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.