pub struct SentinelPolicyListStubBuilder { /* private fields */ }
Expand description
Builder for SentinelPolicyListStub
.
Implementations§
Source§impl SentinelPolicyListStubBuilder
impl SentinelPolicyListStubBuilder
pub fn name(&mut self, value: String) -> &mut Self
pub fn description(&mut self, value: String) -> &mut Self
pub fn scope(&mut self, value: String) -> &mut Self
pub fn enforcement_level(&mut self, value: String) -> &mut Self
pub fn create_index(&mut self, value: u64) -> &mut Self
pub fn modify_index(&mut self, value: u64) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<SentinelPolicyListStub, SentinelPolicyListStubBuilderError>
pub fn build( &self, ) -> Result<SentinelPolicyListStub, SentinelPolicyListStubBuilderError>
Trait Implementations§
Source§impl Clone for SentinelPolicyListStubBuilder
impl Clone for SentinelPolicyListStubBuilder
Source§fn clone(&self) -> SentinelPolicyListStubBuilder
fn clone(&self) -> SentinelPolicyListStubBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SentinelPolicyListStubBuilder
impl RefUnwindSafe for SentinelPolicyListStubBuilder
impl Send for SentinelPolicyListStubBuilder
impl Sync for SentinelPolicyListStubBuilder
impl Unpin for SentinelPolicyListStubBuilder
impl UnwindSafe for SentinelPolicyListStubBuilder
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