pub struct BundleSource {
pub credentials: SourceCredentials,
pub reference: String,
}Expand description
One OCI artifact and how to authenticate when pulling it.
JSON schema
{
"description": "One OCI artifact and how to authenticate when pulling it.",
"type": "object",
"required": [
"credentials",
"reference"
],
"properties": {
"credentials": {
"$ref": "#/components/schemas/SourceCredentials"
},
"reference": {
"type": "string"
}
}
}Fields§
§credentials: SourceCredentials§reference: StringImplementations§
Source§impl BundleSource
impl BundleSource
pub fn builder() -> BundleSource
Trait Implementations§
Source§impl Clone for BundleSource
impl Clone for BundleSource
Source§impl Debug for BundleSource
impl Debug for BundleSource
Source§impl<'de> Deserialize<'de> for BundleSource
impl<'de> Deserialize<'de> for BundleSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&BundleSource> for BundleSource
impl From<&BundleSource> for BundleSource
Source§fn from(value: &BundleSource) -> Self
fn from(value: &BundleSource) -> Self
Converts to this type from the input type.
Source§impl From<BundleSource> for BundleSource
impl From<BundleSource> for BundleSource
Source§fn from(value: BundleSource) -> Self
fn from(value: BundleSource) -> Self
Converts to this type from the input type.
Source§impl Serialize for BundleSource
impl Serialize for BundleSource
Source§impl TryFrom<BundleSource> for BundleSource
impl TryFrom<BundleSource> for BundleSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BundleSource) -> Result<Self, ConversionError>
fn try_from(value: BundleSource) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for BundleSource
impl Freeze for BundleSource
impl Move for BundleSource
impl RefUnwindSafe for BundleSource
impl Send for BundleSource
impl Sync for BundleSource
impl Unpin for BundleSource
impl UnsafeUnpin for BundleSource
impl UnwindSafe for BundleSource
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