pub struct GitSubscriptionDiff {
pub max_diff_lines: Option<MaxDiffLines>,
pub notification_level: Option<NotificationLevel>,
pub review_level: Option<CodeReviewLevel>,
}Expand description
Representation of the git_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 repository details are changed such as lifecycle status and name. Revision notifications are generated when new revisions are found.
review_level: Option<CodeReviewLevel>Code review Level
Control the kind of review activity that triggers notifications.
Trait Implementations§
Source§impl Clone for GitSubscriptionDiff
impl Clone for GitSubscriptionDiff
Source§fn clone(&self) -> GitSubscriptionDiff
fn clone(&self) -> GitSubscriptionDiff
Returns a duplicate 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 GitSubscriptionDiff
impl Debug for GitSubscriptionDiff
Source§impl Default for GitSubscriptionDiff
impl Default for GitSubscriptionDiff
Source§impl<'de> Deserialize<'de> for GitSubscriptionDiff
impl<'de> Deserialize<'de> for GitSubscriptionDiff
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 GitSubscriptionDiff
impl PartialEq for GitSubscriptionDiff
Source§impl Serialize for GitSubscriptionDiff
impl Serialize for GitSubscriptionDiff
impl StructuralPartialEq for GitSubscriptionDiff
Auto Trait Implementations§
impl Freeze for GitSubscriptionDiff
impl RefUnwindSafe for GitSubscriptionDiff
impl Send for GitSubscriptionDiff
impl Sync for GitSubscriptionDiff
impl Unpin for GitSubscriptionDiff
impl UnwindSafe for GitSubscriptionDiff
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