pub struct GitSubscriptionFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub max_diff_lines: MaxDiffLines,
pub notification_level: NotificationLevel,
pub person_link: Url,
pub repository_link: Url,
pub review_level: CodeReviewLevel,
pub subscribed_by_link: Url,
}Expand description
Representation of the git_subscription-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
max_diff_lines: MaxDiffLinesGenerated 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: NotificationLevelNotification 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.
person_link: UrlPerson
Enter the launchpad id, or email address of the person you wish to subscribe to this repository. If you are unsure, use the “Choose…” option to find the person in Launchpad. You can only subscribe someone who is a registered user of the system.
repository_link: UrlRepository ID
review_level: CodeReviewLevelCode review Level
Control the kind of review activity that triggers notifications.
subscribed_by_link: UrlSubscribed by
The person who created this subscription.
Implementations§
Source§impl GitSubscriptionFull
impl GitSubscriptionFull
Sourcepub fn self_(&self) -> Option<GitSubscription>
pub fn self_(&self) -> Option<GitSubscription>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<GitSubscription>)
Sourcepub fn person(&self) -> Person
pub fn person(&self) -> Person
Person
Enter the launchpad id, or email address of the person you wish to subscribe to this repository. If you are unsure, use the “Choose…” option to find the person in Launchpad. You can only subscribe someone who is a registered user of the system.
pub fn set_person(&mut self, value: Person)
Sourcepub fn repository(&self) -> GitRepository
pub fn repository(&self) -> GitRepository
Repository ID
pub fn set_repository(&mut self, value: GitRepository)
Sourcepub fn subscribed_by(&self) -> Person
pub fn subscribed_by(&self) -> Person
Subscribed by
The person who created this subscription.
pub fn set_subscribed_by(&mut self, value: Person)
Trait Implementations§
Source§impl Clone for GitSubscriptionFull
impl Clone for GitSubscriptionFull
Source§fn clone(&self) -> GitSubscriptionFull
fn clone(&self) -> GitSubscriptionFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more