Struct gitlab::types::Discussion
source · pub struct Discussion {
pub id: ObjectId,
pub individual_note: bool,
pub notes: Vec<Note>,
}Expand description
A threaded discussion
Fields§
§id: ObjectIdThe discussion ID, a SHA hash
individual_note: boolTrue if the discussion only holds one note.
notes: Vec<Note>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 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