pub struct UpdateFeature { /* private fields */ }Expand description
One inert finalized-feature target in caller order.
Implementations§
Source§impl UpdateFeature
impl UpdateFeature
Sourcepub const fn new(
feature: String,
max_version_level: i16,
intent: UpdateFeatureIntent,
) -> Self
pub const fn new( feature: String, max_version_level: i16, intent: UpdateFeatureIntent, ) -> Self
Creates inert update data validated only after deadline capture.
Sourcepub const fn max_version_level(&self) -> i16
pub const fn max_version_level(&self) -> i16
Returns the requested finalized maximum level.
Sourcepub const fn intent(&self) -> UpdateFeatureIntent
pub const fn intent(&self) -> UpdateFeatureIntent
Returns the explicit direction and loss policy.
Trait Implementations§
Source§impl Clone for UpdateFeature
impl Clone for UpdateFeature
Source§impl Debug for UpdateFeature
impl Debug for UpdateFeature
impl Eq for UpdateFeature
Source§impl PartialEq for UpdateFeature
impl PartialEq for UpdateFeature
impl StructuralPartialEq for UpdateFeature
Auto Trait Implementations§
impl Freeze for UpdateFeature
impl RefUnwindSafe for UpdateFeature
impl Send for UpdateFeature
impl Sync for UpdateFeature
impl Unpin for UpdateFeature
impl UnsafeUnpin for UpdateFeature
impl UnwindSafe for UpdateFeature
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