pub struct SystemdDirective {
pub key: String,
pub value: String,
pub line_number: u32,
pub column_range: (u32, u32),
pub end_line_number: u32,
pub value_spans: Vec<DirectiveValueSpan>,
}Fields§
§key: String§value: String§line_number: u32§column_range: (u32, u32)§end_line_number: u32§value_spans: Vec<DirectiveValueSpan>Trait Implementations§
Source§impl Clone for SystemdDirective
impl Clone for SystemdDirective
Source§fn clone(&self) -> SystemdDirective
fn clone(&self) -> SystemdDirective
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 SystemdDirective
impl Debug for SystemdDirective
Source§impl<'de> Deserialize<'de> for SystemdDirective
impl<'de> Deserialize<'de> for SystemdDirective
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 SystemdDirective
impl RefUnwindSafe for SystemdDirective
impl Send for SystemdDirective
impl Sync for SystemdDirective
impl Unpin for SystemdDirective
impl UnwindSafe for SystemdDirective
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