Enum gitlab::types::LineType
[−]
[src]
pub enum LineType { New, Old, }
The type of line commented on.
Variants
New
An added line was commented on.
Old
An deleted line was commented on.
Methods
impl LineType
[src]
Trait Implementations
impl Debug for LineType
[src]
impl Clone for LineType
[src]
fn clone(&self) -> LineType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for LineType
[src]
impl PartialEq for LineType
[src]
fn eq(&self, __arg_0: &LineType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for LineType
[src]
impl Serialize for LineType
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for LineType
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more