pub struct ProjectSectionInsertRequest {
pub project: String,
pub section: String,
pub before_section: Option<String>,
pub after_section: Option<String>,
}
Fields
project: String
The project in which to reorder the given section.
section: String
The section to reorder.
before_section: Option<String>
Insert the given section immediately before the section specified by this parameter.
after_section: Option<String>
Insert the given section immediately after the section specified by this parameter.
Implementations
sourceimpl ProjectSectionInsertRequest
impl ProjectSectionInsertRequest
pub fn new(project: String, section: String) -> ProjectSectionInsertRequest
Trait Implementations
sourceimpl Clone for ProjectSectionInsertRequest
impl Clone for ProjectSectionInsertRequest
sourcefn clone(&self) -> ProjectSectionInsertRequest
fn clone(&self) -> ProjectSectionInsertRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProjectSectionInsertRequest
impl Debug for ProjectSectionInsertRequest
sourceimpl<'de> Deserialize<'de> for ProjectSectionInsertRequest
impl<'de> Deserialize<'de> for ProjectSectionInsertRequest
sourcefn 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
sourceimpl PartialEq<ProjectSectionInsertRequest> for ProjectSectionInsertRequest
impl PartialEq<ProjectSectionInsertRequest> for ProjectSectionInsertRequest
sourcefn eq(&self, other: &ProjectSectionInsertRequest) -> bool
fn eq(&self, other: &ProjectSectionInsertRequest) -> bool
impl StructuralPartialEq for ProjectSectionInsertRequest
Auto Trait Implementations
impl RefUnwindSafe for ProjectSectionInsertRequest
impl Send for ProjectSectionInsertRequest
impl Sync for ProjectSectionInsertRequest
impl Unpin for ProjectSectionInsertRequest
impl UnwindSafe for ProjectSectionInsertRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more