pub struct UpdateSecrets {
pub changes: Vec<SecretChange>,
}Expand description
Apply ordered secret changes, preserving partial completion in the result.
Fields§
§changes: Vec<SecretChange>Entries execute sequentially, stopping at the first operation failure.
Implementations§
Source§impl UpdateSecrets
impl UpdateSecrets
Sourcepub fn new(changes: Vec<SecretChange>) -> Self
pub fn new(changes: Vec<SecretChange>) -> Self
Prepare a caller-ordered batch without performing I/O.
Trait Implementations§
Source§impl CheckedControlRequest for UpdateSecrets
impl CheckedControlRequest for UpdateSecrets
Source§fn json_request(&self) -> ControlClientResult<ControlRequest>
fn json_request(&self) -> ControlClientResult<ControlRequest>
Prepare the actual legacy operation, before any connection or write.
Source§fn decode_json(&self, reply: JsonReply) -> ControlClientResult<Self::Response>
fn decode_json(&self, reply: JsonReply) -> ControlClientResult<Self::Response>
Normalize a real JSON response, preserving its original bytes on failure.
Source§impl Clone for UpdateSecrets
impl Clone for UpdateSecrets
Source§fn clone(&self) -> UpdateSecrets
fn clone(&self) -> UpdateSecrets
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateSecrets
impl Debug for UpdateSecrets
Source§impl Request<ControlProtocol> for UpdateSecrets
impl Request<ControlProtocol> for UpdateSecrets
Source§type Response = SecretsResult
type Response = SecretsResult
Checked operation result, independent of SDK domain behavior.
Source§type Error = ControlClientError
type Error = ControlClientError
Application error that can also retain a local transport failure.
Source§fn message(&self) -> ControlClientResult<EncodedMessage>
fn message(&self) -> ControlClientResult<EncodedMessage>
Encode the prepared request without performing I/O.
Auto Trait Implementations§
impl Freeze for UpdateSecrets
impl RefUnwindSafe for UpdateSecrets
impl Send for UpdateSecrets
impl Sync for UpdateSecrets
impl Unpin for UpdateSecrets
impl UnsafeUnpin for UpdateSecrets
impl UnwindSafe for UpdateSecrets
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