Struct tss_esapi::attributes::nv_index::NvIndexAttributesBuilder
source · pub struct NvIndexAttributesBuilder { /* private fields */ }
Expand description
A builder NV index attributes
Implementations§
source§impl NvIndexAttributesBuilder
impl NvIndexAttributesBuilder
sourcepub const fn with_attributes(nv_index_attributes: NvIndexAttributes) -> Self
pub const fn with_attributes(nv_index_attributes: NvIndexAttributes) -> Self
Creates a new builder from existing NvIndexAttributes
sourcepub fn with_pp_write(self, set: bool) -> Self
pub fn with_pp_write(self, set: bool) -> Self
Controls the pp write
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_owner_write(self, set: bool) -> Self
pub fn with_owner_write(self, set: bool) -> Self
Controls the owner write
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_auth_write(self, set: bool) -> Self
pub fn with_auth_write(self, set: bool) -> Self
Controls the auth write
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_policy_write(self, set: bool) -> Self
pub fn with_policy_write(self, set: bool) -> Self
Controls the policy write
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_nv_index_type(self, nv_index_type: NvIndexType) -> Self
pub fn with_nv_index_type(self, nv_index_type: NvIndexType) -> Self
sourcepub fn with_policy_delete(self, set: bool) -> Self
pub fn with_policy_delete(self, set: bool) -> Self
Controls the policy delete
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_write_locked(self, set: bool) -> Self
pub fn with_write_locked(self, set: bool) -> Self
Controls the write locked
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_write_all(self, set: bool) -> Self
pub fn with_write_all(self, set: bool) -> Self
Controls the write all
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_write_define(self, set: bool) -> Self
pub fn with_write_define(self, set: bool) -> Self
Controls the write define
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_write_stclear(self, set: bool) -> Self
pub fn with_write_stclear(self, set: bool) -> Self
Controls the write stclear
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_global_lock(self, set: bool) -> Self
pub fn with_global_lock(self, set: bool) -> Self
Controls the global lock
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_pp_read(self, set: bool) -> Self
pub fn with_pp_read(self, set: bool) -> Self
Controls the pp read
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_owner_read(self, set: bool) -> Self
pub fn with_owner_read(self, set: bool) -> Self
Controls the owner read
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_auth_read(self, set: bool) -> Self
pub fn with_auth_read(self, set: bool) -> Self
Controls the auth read
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_policy_read(self, set: bool) -> Self
pub fn with_policy_read(self, set: bool) -> Self
Controls the policy read
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_no_da(self, set: bool) -> Self
pub fn with_no_da(self, set: bool) -> Self
Controls the no DA
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_orderly(self, set: bool) -> Self
pub fn with_orderly(self, set: bool) -> Self
Controls the orderly
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_clear_stclear(self, set: bool) -> Self
pub fn with_clear_stclear(self, set: bool) -> Self
Controls the clear stclear
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_read_locked(self, set: bool) -> Self
pub fn with_read_locked(self, set: bool) -> Self
Controls the read locked
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_written(self, set: bool) -> Self
pub fn with_written(self, set: bool) -> Self
Controls the written
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_platform_create(self, set: bool) -> Self
pub fn with_platform_create(self, set: bool) -> Self
Controls the platform create
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn with_read_stclear(self, set: bool) -> Self
pub fn with_read_stclear(self, set: bool) -> Self
Controls the read stclear
attribute
§Arguments
set
-true
indicates that the attribute should have the value SET.false
indicates that the attribute should have the value CLEAR.
sourcepub fn build(self) -> Result<NvIndexAttributes>
pub fn build(self) -> Result<NvIndexAttributes>
Builds the nv index attributes.
§Errors
Returns an error if some attributes are missing or are in conflict with each other.
Trait Implementations§
source§impl Clone for NvIndexAttributesBuilder
impl Clone for NvIndexAttributesBuilder
source§fn clone(&self) -> NvIndexAttributesBuilder
fn clone(&self) -> NvIndexAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NvIndexAttributesBuilder
impl Debug for NvIndexAttributesBuilder
source§impl Default for NvIndexAttributesBuilder
impl Default for NvIndexAttributesBuilder
source§impl PartialEq for NvIndexAttributesBuilder
impl PartialEq for NvIndexAttributesBuilder
source§fn eq(&self, other: &NvIndexAttributesBuilder) -> bool
fn eq(&self, other: &NvIndexAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.