pub struct PublishTarget {
pub registry: String,
pub repository: String,
pub tag: String,
pub token: Option<String>,
}Expand description
Where to publish: an OCI repository reference plus optional bearer auth.
Fields§
§registry: StringRegistry base URL, e.g. https://manifold.omni.dev.
repository: StringRepository path, e.g. myteam/blog-api.
tag: StringTag, e.g. latest or a version.
token: Option<String>Optional bearer token for authenticated registries.
Auto Trait Implementations§
impl Forget for PublishTarget
impl Freeze for PublishTarget
impl Move for PublishTarget
impl RefUnwindSafe for PublishTarget
impl Send for PublishTarget
impl Sync for PublishTarget
impl Unpin for PublishTarget
impl UnsafeUnpin for PublishTarget
impl UnwindSafe for PublishTarget
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> 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