Struct seaplane_cli::ops::metadata::KeyValues
source · pub struct KeyValues { /* private fields */ }Implementations
sourceimpl KeyValues
impl KeyValues
pub fn from_model(model: Vec<KeyValueModel>) -> Self
sourcepub fn insert<S: Into<String>>(&mut self, key: S, value: S)
pub fn insert<S: Into<String>>(&mut self, key: S, value: S)
Inserts an already base64 encoded key and value
pub fn iter(&self) -> impl Iterator<Item = &KeyValue>
pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut KeyValue>
pub fn push(&mut self, kv: KeyValue)
pub fn keys(&self) -> impl Iterator<Item = EncodedString> + '_
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyValues
impl Send for KeyValues
impl Sync for KeyValues
impl Unpin for KeyValues
impl UnwindSafe for KeyValues
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more