pub struct RemoteRef {
pub reference: String,
pub display: Option<String>,
}Expand description
One entry returned by SecretSource::list.
reference is the backend-specific opaque string the router
would feed back into get(). display is the human-readable
label the source can offer when one is available — TUI
discovery (P11.4) renders it in the picker.
Fields§
§reference: StringBackend-specific reference string.
display: Option<String>Optional human-readable label (1Password item title, Vault
path, env-var name, etc.). When absent, callers fall back to
reference.
Trait Implementations§
impl Eq for RemoteRef
impl StructuralPartialEq for RemoteRef
Auto Trait Implementations§
impl Freeze for RemoteRef
impl RefUnwindSafe for RemoteRef
impl Send for RemoteRef
impl Sync for RemoteRef
impl Unpin for RemoteRef
impl UnsafeUnpin for RemoteRef
impl UnwindSafe for RemoteRef
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.