pub struct KmipServerUpdate {
pub address: Option<String>,
pub port: Option<Int64>,
pub username: Option<String>,
pub password: Option<String>,
pub cache_policy: Option<KmipCachePolicy>,
pub cache_duration: Option<Duration>,
}Expand description
Update struct corresponding to KmipServer
Fields§
§address: Option<String>§port: Option<Int64>§username: Option<String>§password: Option<String>§cache_policy: Option<KmipCachePolicy>§cache_duration: Option<Duration>Implementations§
Source§impl KmipServerUpdate
impl KmipServerUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_address(self, v: String) -> Self
pub fn with_port(self, v: Int64) -> Self
pub fn with_username(self, v: String) -> Self
pub fn with_password(self, v: String) -> Self
pub fn with_cache_policy(self, v: KmipCachePolicy) -> Self
pub fn with_cache_duration(self, v: Duration) -> Self
Trait Implementations§
Source§impl Debug for KmipServerUpdate
impl Debug for KmipServerUpdate
Source§impl Default for KmipServerUpdate
impl Default for KmipServerUpdate
Source§fn default() -> KmipServerUpdate
fn default() -> KmipServerUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KmipServerUpdate
impl RefUnwindSafe for KmipServerUpdate
impl Send for KmipServerUpdate
impl Sync for KmipServerUpdate
impl Unpin for KmipServerUpdate
impl UnsafeUnpin for KmipServerUpdate
impl UnwindSafe for KmipServerUpdate
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