Struct systemd_parser::items::UnitDirective
[−]
[src]
pub struct UnitDirective { /* fields omitted */ }
Methods
impl UnitDirective
[src]
impl UnitDirective
[src]
fn new(category: &str, key: &str, value: &str) -> UnitDirective
fn item_list_to_unit_directive_list(unit_items: &Vec<SystemdItem>)
-> Result<Vec<UnitDirective>, ()>
-> Result<Vec<UnitDirective>, ()>
Trait Implementations
impl PartialEq for UnitDirective
[src]
fn eq(&self, __arg_0: &UnitDirective) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UnitDirective) -> bool
This method tests for !=
.
impl Eq for UnitDirective
[src]
impl Clone for UnitDirective
[src]
fn clone(&self) -> UnitDirective
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