pub struct GoModRetractDirective { /* private fields */ }Expand description
retract directive metadata.
Implementations§
Source§impl GoModRetractDirective
impl GoModRetractDirective
Sourcepub fn with_rationale(self, rationale: impl AsRef<str>) -> Self
pub fn with_rationale(self, rationale: impl AsRef<str>) -> Self
Adds optional rationale text.
Trait Implementations§
Source§impl Clone for GoModRetractDirective
impl Clone for GoModRetractDirective
Source§fn clone(&self) -> GoModRetractDirective
fn clone(&self) -> GoModRetractDirective
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 GoModRetractDirective
impl Debug for GoModRetractDirective
Source§impl PartialEq for GoModRetractDirective
impl PartialEq for GoModRetractDirective
impl Eq for GoModRetractDirective
impl StructuralPartialEq for GoModRetractDirective
Auto Trait Implementations§
impl Freeze for GoModRetractDirective
impl RefUnwindSafe for GoModRetractDirective
impl Send for GoModRetractDirective
impl Sync for GoModRetractDirective
impl Unpin for GoModRetractDirective
impl UnsafeUnpin for GoModRetractDirective
impl UnwindSafe for GoModRetractDirective
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