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§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CompatibleControlRequest for Twhere
T: CheckedControlRequest,
impl<T> CompatibleControlRequest for Twhere
T: CheckedControlRequest,
Source§fn min_generation(&self) -> u8
fn min_generation(&self) -> u8
First framed-control generation that defines this operation.
Source§fn compatibility_json_bytes(
&self,
) -> Result<Zeroizing<Vec<u8>>, ControlClientError>
fn compatibility_json_bytes( &self, ) -> Result<Zeroizing<Vec<u8>>, ControlClientError>
Encode the exact historical JSON request without a trailing newline.
Source§fn decode_compatibility_json(
&self,
reply: JsonReply,
) -> Result<<T as Request<ControlProtocol>>::Response, ControlClientError>
fn decode_compatibility_json( &self, reply: JsonReply, ) -> Result<<T as Request<ControlProtocol>>::Response, ControlClientError>
Decode the actual historical JSON response.