Struct gitlab::types::Discussion
source · pub struct Discussion {
pub id: ObjectId,
pub individual_note: bool,
pub notes: Vec<Note>,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
A threaded discussion
Fields§
§id: ObjectId
👎Deprecated since 0.1609.0: define deserialization types in client code
The discussion ID, a SHA hash
individual_note: bool
👎Deprecated since 0.1609.0: define deserialization types in client code
True if the discussion only holds one note.
notes: Vec<Note>
👎Deprecated since 0.1609.0: define deserialization types in client code
The discussion notes
Trait Implementations§
source§impl Clone for Discussion
impl Clone for Discussion
source§fn clone(&self) -> Discussion
fn clone(&self) -> Discussion
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 Discussion
impl Debug for Discussion
source§impl<'de> Deserialize<'de> for Discussion
impl<'de> Deserialize<'de> for Discussion
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 Freeze for Discussion
impl RefUnwindSafe for Discussion
impl Send for Discussion
impl Sync for Discussion
impl Unpin for Discussion
impl UnwindSafe for Discussion
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