pub struct CreateNewKeyParams {
pub account_sid: String,
pub friendly_name: Option<String>,
}
Expand description
struct for passing parameters to the method create_new_key
Fields§
§account_sid: String
The SID of the Account that will be responsible for the new Key resource.
friendly_name: Option<String>
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
Trait Implementations§
Source§impl Clone for CreateNewKeyParams
impl Clone for CreateNewKeyParams
Source§fn clone(&self) -> CreateNewKeyParams
fn clone(&self) -> CreateNewKeyParams
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 CreateNewKeyParams
impl RefUnwindSafe for CreateNewKeyParams
impl Send for CreateNewKeyParams
impl Sync for CreateNewKeyParams
impl Unpin for CreateNewKeyParams
impl UnwindSafe for CreateNewKeyParams
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