pub struct SectionCreateData {
pub name: String,
pub insert_before: Option<String>,
pub insert_after: Option<String>,
}Expand description
Payload for creating a section in a project.
Fields§
§name: StringSection name (required).
insert_before: Option<String>Optional positioning parameter: insert before this section gid.
insert_after: Option<String>Optional positioning parameter: insert after this section gid.
Trait Implementations§
Source§impl Clone for SectionCreateData
impl Clone for SectionCreateData
Source§fn clone(&self) -> SectionCreateData
fn clone(&self) -> SectionCreateData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SectionCreateData
impl Debug for SectionCreateData
impl Eq for SectionCreateData
Source§impl PartialEq for SectionCreateData
impl PartialEq for SectionCreateData
Source§impl Serialize for SectionCreateData
impl Serialize for SectionCreateData
impl StructuralPartialEq for SectionCreateData
Auto Trait Implementations§
impl Freeze for SectionCreateData
impl RefUnwindSafe for SectionCreateData
impl Send for SectionCreateData
impl Sync for SectionCreateData
impl Unpin for SectionCreateData
impl UnsafeUnpin for SectionCreateData
impl UnwindSafe for SectionCreateData
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