pub struct BranchSubscriptionDiff {
pub max_diff_lines: Option<MaxDiffLines>,
pub notification_level: Option<NotificationLevel>,
pub review_level: Option<CodeReviewLevel>,
}Expand description
Representation of the branch_subscription-diff resource
Fields§
§max_diff_lines: Option<MaxDiffLines>Generated Diff Size Limit
Diffs greater than the specified number of lines will not be sent to the subscriber. The subscriber will still receive an email with the new revision details even if the diff is larger than the specified number of lines.
notification_level: Option<NotificationLevel>Notification Level
Attribute notifications are sent when branch details are changed such as lifecycle status and name. Revision notifications are generated when new branch revisions are found due to the branch being updated through either pushes to the hosted branches or the mirrored branches being updated.
review_level: Option<CodeReviewLevel>Code review Level
Control the kind of review activity that triggers notifications.
Trait Implementations§
Source§impl Clone for BranchSubscriptionDiff
impl Clone for BranchSubscriptionDiff
Source§fn clone(&self) -> BranchSubscriptionDiff
fn clone(&self) -> BranchSubscriptionDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BranchSubscriptionDiff
impl Debug for BranchSubscriptionDiff
Source§impl Default for BranchSubscriptionDiff
impl Default for BranchSubscriptionDiff
Source§impl<'de> Deserialize<'de> for BranchSubscriptionDiff
impl<'de> Deserialize<'de> for BranchSubscriptionDiff
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 BranchSubscriptionDiff
impl PartialEq for BranchSubscriptionDiff
Source§fn eq(&self, other: &BranchSubscriptionDiff) -> bool
fn eq(&self, other: &BranchSubscriptionDiff) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BranchSubscriptionDiff
impl Serialize for BranchSubscriptionDiff
impl StructuralPartialEq for BranchSubscriptionDiff
Auto Trait Implementations§
impl Freeze for BranchSubscriptionDiff
impl RefUnwindSafe for BranchSubscriptionDiff
impl Send for BranchSubscriptionDiff
impl Sync for BranchSubscriptionDiff
impl Unpin for BranchSubscriptionDiff
impl UnsafeUnpin for BranchSubscriptionDiff
impl UnwindSafe for BranchSubscriptionDiff
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