pub struct PublishResult { /* private fields */ }Expand description
Publish result for a single package
Implementations§
Source§impl PublishResult
impl PublishResult
pub fn get_package_name(&self) -> &String
pub fn get_success(&self) -> bool
pub fn get_error(&self) -> String
pub fn try_get_error(&self) -> &Option<String>
pub fn get_retries(&self) -> u32
Trait Implementations§
Source§impl Clone for PublishResult
impl Clone for PublishResult
Auto Trait Implementations§
impl Forget for PublishResult
impl Freeze for PublishResult
impl Move for PublishResult
impl RefUnwindSafe for PublishResult
impl Send for PublishResultwhere
RawVecInner: Send,
impl Sync for PublishResultwhere
RawVecInner: Sync,
impl Unpin for PublishResult
impl UnsafeUnpin for PublishResult
impl UnwindSafe for PublishResultwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more