pub struct ServiceEntry {
pub entry_id: Option<i64>,
pub title: String,
pub username: String,
pub password: Zeroizing<String>,
pub url: Option<String>,
pub notes: Option<String>,
pub credential_type: String,
pub created_at: i64,
pub modified_at: i64,
pub favorite: bool,
}Expand description
Wire DTO for one vault entry. password is plaintext on the IPC surface
— the same trust level as the pre-existing GetCredential response — and
is Zeroizing on both ends. Debug redacts the password.
Fields§
§entry_id: Option<i64>§title: String§username: String§password: Zeroizing<String>§url: Option<String>§notes: Option<String>§credential_type: Stringpassword | api_key | passkey_reference (core CredentialType).
created_at: i64Unix epoch seconds.
modified_at: i64Unix epoch seconds.
favorite: boolTrait Implementations§
Source§impl Clone for ServiceEntry
impl Clone for ServiceEntry
Source§fn clone(&self) -> ServiceEntry
fn clone(&self) -> ServiceEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceEntry
impl Debug for ServiceEntry
Source§impl<'de> Deserialize<'de> for ServiceEntry
impl<'de> Deserialize<'de> for ServiceEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceEntry
impl RefUnwindSafe for ServiceEntry
impl Send for ServiceEntry
impl Sync for ServiceEntry
impl Unpin for ServiceEntry
impl UnsafeUnpin for ServiceEntry
impl UnwindSafe for ServiceEntry
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