pub struct AddReviewerResult {
pub input: Option<String>,
pub reviewers: Option<Vec<ReviewerInfo>>,
pub ccs: Option<Vec<ReviewerInfo>>,
pub error: Option<String>,
pub confirm: Option<bool>,
}
Expand description
The AddReviewerResult
entity describes the result of adding a reviewer to a change.
Fields§
§input: Option<String>
Value of the reviewer field from ReviewerInput set while adding the reviewer V02.13
reviewers: Option<Vec<ReviewerInfo>>
The newly added reviewers as a list of ReviewerInfo entities V02.09
ccs: Option<Vec<ReviewerInfo>>
The newly CCed accounts as a list of ReviewerInfo entities. This field will only appear if the requested state for the reviewer was CC and NoteDb is enabled on the server V02.13
error: Option<String>
Error message explaining why the reviewer could not be added. If a group was specified in the input and an error is returned, it means that none of the members were added as reviewer. V02.09
confirm: Option<bool>
Whether adding the reviewer requires confirmation V02.09
Trait Implementations§
Source§impl Clone for AddReviewerResult
impl Clone for AddReviewerResult
Source§fn clone(&self) -> AddReviewerResult
fn clone(&self) -> AddReviewerResult
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 AddReviewerResult
impl Debug for AddReviewerResult
Source§impl<'de> Deserialize<'de> for AddReviewerResult
impl<'de> Deserialize<'de> for AddReviewerResult
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 AddReviewerResult
impl RefUnwindSafe for AddReviewerResult
impl Send for AddReviewerResult
impl Sync for AddReviewerResult
impl Unpin for AddReviewerResult
impl UnwindSafe for AddReviewerResult
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