pub struct Password {
pub id: Uuid,
pub revision: Uuid,
pub share: Option<Uuid>,
pub shared: bool,
pub editable: bool,
pub created: i64,
pub folder: FolderInfo,
pub tags: Option<Vec<()>>,
pub shares: Option<Vec<()>>,
pub revisions: Option<Vec<VersionedPassword>>,
pub versioned: VersionedPassword,
}
Fields§
§id: Uuid
The UUID of the password
revision: Uuid
UUID of the current revision
UUID of the share if the password was shared by someone else with the user
True if the password is shared with other users
editable: bool
Specifies if the encrypted properties can be changed. Might be false for shared passwords
created: i64
Unix timestamp when the password was created
folder: FolderInfo
Either the UUID of the current folder of the password or the folder model
Adds the tags property filled with the base model of all tags. Hidden tags are not included in this list if the password is not hidden
Adds the shares property filled with the base model of all shares with other users. Fills the share property with the base model of the original share if available
revisions: Option<Vec<VersionedPassword>>
Adds the revisions property which contains all revisions. A revision consists of all properties marked as versioned and its own created property
versioned: VersionedPassword