pub struct UpdateEntityAliasByIdRequestBuilder { /* private fields */ }
Expand description
Builder for UpdateEntityAliasByIdRequest
.
Implementations§
source§impl UpdateEntityAliasByIdRequestBuilder
impl UpdateEntityAliasByIdRequestBuilder
sourcepub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Identifier of the entity alias.
sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.
sourcepub fn canonical_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn canonical_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Entity ID to which this alias belongs to.
sourcepub fn mount_accessor<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn mount_accessor<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Accessor of the mount to which the alias should belong to.
sourcepub fn custom_metadata<VALUE: Into<HashMap<String, String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn custom_metadata<VALUE: Into<HashMap<String, String>>>( &mut self, value: VALUE, ) -> &mut Self
A map of arbitrary string to string valued user-provided metadata meant to describe the alias.
sourcepub fn build(
&self,
) -> Result<UpdateEntityAliasByIdRequest, UpdateEntityAliasByIdRequestBuilderError>
pub fn build( &self, ) -> Result<UpdateEntityAliasByIdRequest, UpdateEntityAliasByIdRequestBuilderError>
Trait Implementations§
source§impl Clone for UpdateEntityAliasByIdRequestBuilder
impl Clone for UpdateEntityAliasByIdRequestBuilder
source§fn clone(&self) -> UpdateEntityAliasByIdRequestBuilder
fn clone(&self) -> UpdateEntityAliasByIdRequestBuilder
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 moreAuto Trait Implementations§
impl Freeze for UpdateEntityAliasByIdRequestBuilder
impl RefUnwindSafe for UpdateEntityAliasByIdRequestBuilder
impl Send for UpdateEntityAliasByIdRequestBuilder
impl Sync for UpdateEntityAliasByIdRequestBuilder
impl Unpin for UpdateEntityAliasByIdRequestBuilder
impl UnwindSafe for UpdateEntityAliasByIdRequestBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)