pub enum Item {
// some variants omitted
}Expand description
A generic secret with a label and attributes.
Implementations§
Source§impl Item
impl Item
Sourcepub async fn attributes(&self) -> Result<HashMap<String, String>>
pub async fn attributes(&self) -> Result<HashMap<String, String>>
Retrieve the item attributes.
Sourcepub async fn set_attributes(&self, attributes: &impl AsAttributes) -> Result<()>
pub async fn set_attributes(&self, attributes: &impl AsAttributes) -> Result<()>
Sets the item attributes.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Item
impl !RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl !UnwindSafe for Item
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