Struct aws_sdk_m2::types::VsamDetailAttributes
source · #[non_exhaustive]pub struct VsamDetailAttributes {
pub encoding: Option<String>,
pub record_format: Option<String>,
pub compressed: Option<bool>,
pub cache_at_startup: Option<bool>,
pub primary_key: Option<PrimaryKey>,
pub alternate_keys: Option<Vec<AlternateKey>>,
}Expand description
The attributes of a VSAM type data set.
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.encoding: Option<String>The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
record_format: Option<String>The record format of the data set.
compressed: Option<bool>Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.
cache_at_startup: Option<bool>If set to True, enforces loading the data set into cache before it’s used by the application.
primary_key: Option<PrimaryKey>The primary key of the data set.
alternate_keys: Option<Vec<AlternateKey>>The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
Implementations§
source§impl VsamDetailAttributes
impl VsamDetailAttributes
sourcepub fn encoding(&self) -> Option<&str>
pub fn encoding(&self) -> Option<&str>
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
sourcepub fn record_format(&self) -> Option<&str>
pub fn record_format(&self) -> Option<&str>
The record format of the data set.
sourcepub fn compressed(&self) -> Option<bool>
pub fn compressed(&self) -> Option<bool>
Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.
sourcepub fn cache_at_startup(&self) -> Option<bool>
pub fn cache_at_startup(&self) -> Option<bool>
If set to True, enforces loading the data set into cache before it’s used by the application.
sourcepub fn primary_key(&self) -> Option<&PrimaryKey>
pub fn primary_key(&self) -> Option<&PrimaryKey>
The primary key of the data set.
sourcepub fn alternate_keys(&self) -> &[AlternateKey]
pub fn alternate_keys(&self) -> &[AlternateKey]
The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .alternate_keys.is_none().
source§impl VsamDetailAttributes
impl VsamDetailAttributes
sourcepub fn builder() -> VsamDetailAttributesBuilder
pub fn builder() -> VsamDetailAttributesBuilder
Creates a new builder-style object to manufacture VsamDetailAttributes.
Trait Implementations§
source§impl Clone for VsamDetailAttributes
impl Clone for VsamDetailAttributes
source§fn clone(&self) -> VsamDetailAttributes
fn clone(&self) -> VsamDetailAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VsamDetailAttributes
impl Debug for VsamDetailAttributes
source§impl PartialEq for VsamDetailAttributes
impl PartialEq for VsamDetailAttributes
source§fn eq(&self, other: &VsamDetailAttributes) -> bool
fn eq(&self, other: &VsamDetailAttributes) -> bool
self and other values to be equal, and is used
by ==.