Struct libmaj::packer::pack_action::PackAction
[−]
[src]
pub struct PackAction { /* fields omitted */ }
A PackAction is an action described in a pack_data_file. E.g. it can be 'copy "from" "to"', or 'encrypt "file" "key"', etc.
Methods
impl PackAction
[src]
fn new(action: String) -> PackAction
fn add_arg(&mut self, new_arg: String)
fn parse(from: &str) -> Result<PackAction, String>
fn get_action(&self) -> &str
fn get_args(&self) -> &Vec<String>
Trait Implementations
impl Debug for PackAction
[src]
impl Clone for PackAction
[src]
fn clone(&self) -> PackAction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more