[−][src]Struct gitlab::api::projects::merge_requests::discussions::PositionBuilder
Builder for Position
.
Implementations
impl<'a> PositionBuilder<'a>
[src]
pub fn base_sha<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
[src]
Tbe base commit SHA in the source branch.
pub fn start_sha<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
Tbe base commit SHA in the target branch.
pub fn head_sha<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
[src]
Tbe commit SHA for the HEAD of the merge request.
pub fn build(&self) -> Result<Position<'a>, String>
[src]
impl<'a> PositionBuilder<'a>
[src]
pub fn text_position(&mut self, position: TextPosition<'a>) -> &mut Self
[src]
The position within a text file.
pub fn image_position(&mut self, position: ImagePosition) -> &mut Self
[src]
The position within an image file.
Trait Implementations
impl<'a> Clone for PositionBuilder<'a>
[src]
fn clone(&self) -> PositionBuilder<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for PositionBuilder<'a>
[src]
fn default() -> PositionBuilder<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for PositionBuilder<'a>
impl<'a> Send for PositionBuilder<'a>
impl<'a> Sync for PositionBuilder<'a>
impl<'a> Unpin for PositionBuilder<'a>
impl<'a> UnwindSafe for PositionBuilder<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,