pub struct SourceAuthorityActions { /* private fields */ }Implementations§
Source§impl SourceAuthorityActions
impl SourceAuthorityActions
pub fn new(authority: RepositorySourceAuthority) -> Self
pub fn argv(self, action: SourceAction) -> Vec<String>
pub fn display(self, action: SourceAction) -> String
Trait Implementations§
Source§impl Clone for SourceAuthorityActions
impl Clone for SourceAuthorityActions
Source§fn clone(&self) -> SourceAuthorityActions
fn clone(&self) -> SourceAuthorityActions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SourceAuthorityActions
Auto Trait Implementations§
impl Freeze for SourceAuthorityActions
impl RefUnwindSafe for SourceAuthorityActions
impl Send for SourceAuthorityActions
impl Sync for SourceAuthorityActions
impl Unpin for SourceAuthorityActions
impl UnsafeUnpin for SourceAuthorityActions
impl UnwindSafe for SourceAuthorityActions
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