pub struct SystemdSection {
pub name: String,
pub directives: Vec<SystemdDirective>,
pub line_range: (u32, u32),
}Fields§
§name: String§directives: Vec<SystemdDirective>§line_range: (u32, u32)Trait Implementations§
Source§impl Clone for SystemdSection
impl Clone for SystemdSection
Source§fn clone(&self) -> SystemdSection
fn clone(&self) -> SystemdSection
Returns a duplicate of the value. Read more
1.0.0 · 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 SystemdSection
impl Debug for SystemdSection
Source§impl<'de> Deserialize<'de> for SystemdSection
impl<'de> Deserialize<'de> for SystemdSection
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 SystemdSection
impl RefUnwindSafe for SystemdSection
impl Send for SystemdSection
impl Sync for SystemdSection
impl Unpin for SystemdSection
impl UnwindSafe for SystemdSection
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