#[non_exhaustive]pub struct GetKeyStringResponse {
pub key_string: String,
/* private fields */
}Expand description
Response message for GetKeyString method.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key_string: StringAn encrypted and signed value of the key.
Implementations§
Source§impl GetKeyStringResponse
impl GetKeyStringResponse
pub fn new() -> Self
Sourcepub fn set_key_string<T: Into<String>>(self, v: T) -> Self
pub fn set_key_string<T: Into<String>>(self, v: T) -> Self
Sets the value of key_string.
§Example
ⓘ
let x = GetKeyStringResponse::new().set_key_string("example");Trait Implementations§
Source§impl Clone for GetKeyStringResponse
impl Clone for GetKeyStringResponse
Source§fn clone(&self) -> GetKeyStringResponse
fn clone(&self) -> GetKeyStringResponse
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 moreSource§impl Debug for GetKeyStringResponse
impl Debug for GetKeyStringResponse
Source§impl Default for GetKeyStringResponse
impl Default for GetKeyStringResponse
Source§fn default() -> GetKeyStringResponse
fn default() -> GetKeyStringResponse
Returns the “default value” for a type. Read more
Source§impl Message for GetKeyStringResponse
impl Message for GetKeyStringResponse
Source§impl PartialEq for GetKeyStringResponse
impl PartialEq for GetKeyStringResponse
impl StructuralPartialEq for GetKeyStringResponse
Auto Trait Implementations§
impl Freeze for GetKeyStringResponse
impl RefUnwindSafe for GetKeyStringResponse
impl Send for GetKeyStringResponse
impl Sync for GetKeyStringResponse
impl Unpin for GetKeyStringResponse
impl UnsafeUnpin for GetKeyStringResponse
impl UnwindSafe for GetKeyStringResponse
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