Struct gitlab::webhooks::PositionHookAttrs  
source · pub struct PositionHookAttrs {
    pub base_sha: ObjectId,
    pub head_sha: ObjectId,
    pub start_sha: ObjectId,
    pub old_line: Option<u64>,
    pub old_path: String,
    pub new_line: Option<u64>,
    pub new_path: String,
}Fields§
§base_sha: ObjectId§head_sha: ObjectId§start_sha: ObjectId§old_line: Option<u64>§old_path: StringThe path on the old side of the diff.
new_line: Option<u64>§new_path: StringThe path on the new side of the diff.
Trait Implementations§
source§impl Clone for PositionHookAttrs
 
impl Clone for PositionHookAttrs
source§fn clone(&self) -> PositionHookAttrs
 
fn clone(&self) -> PositionHookAttrs
Returns a copy 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 PositionHookAttrs
 
impl Debug for PositionHookAttrs
source§impl<'de> Deserialize<'de> for PositionHookAttrs
 
impl<'de> Deserialize<'de> for PositionHookAttrs
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 RefUnwindSafe for PositionHookAttrs
impl Send for PositionHookAttrs
impl Sync for PositionHookAttrs
impl Unpin for PositionHookAttrs
impl UnwindSafe for PositionHookAttrs
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