Struct bollard::secret::ListSecretsOptions
source · pub struct ListSecretsOptions<T>{
pub filters: HashMap<T, Vec<T>>,
}
Expand description
Parameters used in the List Secret API
§Examples
use bollard::secret::ListSecretsOptions;
let mut filters = HashMap::new();
filters.insert("name", vec!["my-secret-name"]);
ListSecretsOptions{
filters,
};
let options: ListSecretsOptions<&str> = Default::default();
Fields§
§filters: HashMap<T, Vec<T>>
Filters to process on the secret list, encoded as JSON. Available filters:
id
=<ID>
a secret’s IDlabel
=key
orlabel
="key=value"
of a secret labelname
=<name>
a secret’s namenames
=<name>
a multiple secret’s name comma separated
Trait Implementations§
source§impl<T> Clone for ListSecretsOptions<T>
impl<T> Clone for ListSecretsOptions<T>
source§fn clone(&self) -> ListSecretsOptions<T>
fn clone(&self) -> ListSecretsOptions<T>
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 moresource§impl<T> Debug for ListSecretsOptions<T>
impl<T> Debug for ListSecretsOptions<T>
source§impl<T> Default for ListSecretsOptions<T>
impl<T> Default for ListSecretsOptions<T>
source§fn default() -> ListSecretsOptions<T>
fn default() -> ListSecretsOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for ListSecretsOptions<T>
impl<T> PartialEq for ListSecretsOptions<T>
source§impl<T> Serialize for ListSecretsOptions<T>
impl<T> Serialize for ListSecretsOptions<T>
impl<T> StructuralPartialEq for ListSecretsOptions<T>
Auto Trait Implementations§
impl<T> Freeze for ListSecretsOptions<T>
impl<T> RefUnwindSafe for ListSecretsOptions<T>where
T: RefUnwindSafe,
impl<T> Send for ListSecretsOptions<T>where
T: Send,
impl<T> Sync for ListSecretsOptions<T>where
T: Sync,
impl<T> Unpin for ListSecretsOptions<T>where
T: Unpin,
impl<T> UnwindSafe for ListSecretsOptions<T>where
T: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)