pub(crate) struct UnparsableTag {
pub(crate) unit: String,
pub(crate) tag: String,
}Expand description
Tags exist under a unit’s prefix and none of them names a version.
Fields§
§unit: StringThe unit name.
tag: StringThe first tag under the prefix.
Trait Implementations§
Source§impl Debug for UnparsableTag
impl Debug for UnparsableTag
Source§impl Display for UnparsableTag
impl Display for UnparsableTag
Source§impl Error for UnparsableTag
impl Error for UnparsableTag
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<UnparsableTag> for ProposalError
impl From<UnparsableTag> for ProposalError
Source§fn from(source: UnparsableTag) -> Self
fn from(source: UnparsableTag) -> Self
Converts to this type from the input type.
Source§impl From<UnparsableTag> for PublicationError
impl From<UnparsableTag> for PublicationError
Source§fn from(source: UnparsableTag) -> Self
fn from(source: UnparsableTag) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnparsableTag
impl RefUnwindSafe for UnparsableTag
impl Send for UnparsableTag
impl Sync for UnparsableTag
impl Unpin for UnparsableTag
impl UnsafeUnpin for UnparsableTag
impl UnwindSafe for UnparsableTag
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