pub struct SectionRequest {
pub insert_after: Option<String>,
pub insert_before: Option<String>,
pub name: String,
}
Fields§
§insert_after: Option<String>
An existing section within this project after which the added section should be inserted. Cannot be provided together with insert_before.
insert_before: Option<String>
An existing section within this project before which the added section should be inserted. Cannot be provided together with insert_after.
name: String
The text to be displayed as the section name. This cannot be an empty string.
Trait Implementations§
Source§impl Clone for SectionRequest
impl Clone for SectionRequest
Source§fn clone(&self) -> SectionRequest
fn clone(&self) -> SectionRequest
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 SectionRequest
impl Debug for SectionRequest
Source§impl Default for SectionRequest
impl Default for SectionRequest
Source§fn default() -> SectionRequest
fn default() -> SectionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SectionRequest
impl<'de> Deserialize<'de> for SectionRequest
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
Source§impl Display for SectionRequest
impl Display for SectionRequest
Auto Trait Implementations§
impl Freeze for SectionRequest
impl RefUnwindSafe for SectionRequest
impl Send for SectionRequest
impl Sync for SectionRequest
impl Unpin for SectionRequest
impl UnwindSafe for SectionRequest
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