pub struct LifecycleIteration {Show 14 fields
pub id: Uuid,
pub content_type: ContentTypeEnum,
pub object_id: String,
pub object_verbose: String,
pub object_admin_url: String,
pub state: LifecycleIterationStateEnum,
pub opened_on: String,
pub grace_period_end: String,
pub next_review_date: String,
pub reviews: Vec<Review>,
pub user_can_review: bool,
pub reviewer_groups: Vec<ReviewerGroup>,
pub min_reviewers: i32,
pub reviewers: Vec<ReviewerUser>,
}Expand description
LifecycleIteration : Mixin to validate that a valid enterprise license exists before allowing to save the object
Fields§
§id: Uuid§content_type: ContentTypeEnum§object_id: String§object_verbose: String§object_admin_url: String§state: LifecycleIterationStateEnum§opened_on: String§grace_period_end: String§next_review_date: String§reviews: Vec<Review>§user_can_review: bool§reviewer_groups: Vec<ReviewerGroup>§min_reviewers: i32§reviewers: Vec<ReviewerUser>Implementations§
Source§impl LifecycleIteration
impl LifecycleIteration
Sourcepub fn new(
id: Uuid,
content_type: ContentTypeEnum,
object_id: String,
object_verbose: String,
object_admin_url: String,
state: LifecycleIterationStateEnum,
opened_on: String,
grace_period_end: String,
next_review_date: String,
reviews: Vec<Review>,
user_can_review: bool,
reviewer_groups: Vec<ReviewerGroup>,
min_reviewers: i32,
reviewers: Vec<ReviewerUser>,
) -> LifecycleIteration
pub fn new( id: Uuid, content_type: ContentTypeEnum, object_id: String, object_verbose: String, object_admin_url: String, state: LifecycleIterationStateEnum, opened_on: String, grace_period_end: String, next_review_date: String, reviews: Vec<Review>, user_can_review: bool, reviewer_groups: Vec<ReviewerGroup>, min_reviewers: i32, reviewers: Vec<ReviewerUser>, ) -> LifecycleIteration
Mixin to validate that a valid enterprise license exists before allowing to save the object
Trait Implementations§
Source§impl Clone for LifecycleIteration
impl Clone for LifecycleIteration
Source§fn clone(&self) -> LifecycleIteration
fn clone(&self) -> LifecycleIteration
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 LifecycleIteration
impl Debug for LifecycleIteration
Source§impl Default for LifecycleIteration
impl Default for LifecycleIteration
Source§fn default() -> LifecycleIteration
fn default() -> LifecycleIteration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LifecycleIteration
impl<'de> Deserialize<'de> for LifecycleIteration
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 LifecycleIteration
impl PartialEq for LifecycleIteration
Source§impl Serialize for LifecycleIteration
impl Serialize for LifecycleIteration
impl StructuralPartialEq for LifecycleIteration
Auto Trait Implementations§
impl Freeze for LifecycleIteration
impl RefUnwindSafe for LifecycleIteration
impl Send for LifecycleIteration
impl Sync for LifecycleIteration
impl Unpin for LifecycleIteration
impl UnsafeUnpin for LifecycleIteration
impl UnwindSafe for LifecycleIteration
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