Enum gitlab::types::NotePositionType
source · pub enum NotePositionType {
Text,
Image,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
A note can be attached to text or an image
Variants§
Text
👎Deprecated since 0.1609.0: define deserialization types in client code
Image
👎Deprecated since 0.1609.0: define deserialization types in client code
Trait Implementations§
source§impl Clone for NotePositionType
impl Clone for NotePositionType
source§fn clone(&self) -> NotePositionType
fn clone(&self) -> NotePositionType
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 NotePositionType
impl Debug for NotePositionType
source§impl<'de> Deserialize<'de> for NotePositionType
impl<'de> Deserialize<'de> for NotePositionType
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
source§impl PartialEq for NotePositionType
impl PartialEq for NotePositionType
source§fn eq(&self, other: &NotePositionType) -> bool
fn eq(&self, other: &NotePositionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NotePositionType
impl Serialize for NotePositionType
impl Eq for NotePositionType
impl StructuralPartialEq for NotePositionType
Auto Trait Implementations§
impl Freeze for NotePositionType
impl RefUnwindSafe for NotePositionType
impl Send for NotePositionType
impl Sync for NotePositionType
impl Unpin for NotePositionType
impl UnwindSafe for NotePositionType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.