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=keyorlabel="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