Struct theca::Profile [] [src]

pub struct Profile {
    pub encrypted: bool,
    pub notes: Vec<Item>,
}

Main container of a theca profile file

Fields

Methods

impl Profile
[src]

setup a Profile struct based on the command line arguments

remove all notes from the profile

save the profile back to file (either plaintext or encrypted)

transfer a note from the profile to another profile

add a item to the profile

delete an item from the profile

edit an item in the profile

print information about the profile

print a full item

print all notes in the profile

print notes search for in the profile

Trait Implementations

impl Decodable for Profile
[src]

Deserialize a value using a Decoder.

impl Encodable for Profile
[src]

Serialize a value using an Encoder.

impl Clone for Profile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more