pub struct ImageNamePatch {
pub host: Option<Option<String>>,
pub port: Option<Option<u16>>,
pub path: Option<String>,
pub version: Option<Option<ImageVersion>>,
}
Fields§
§host: Option<Option<String>>
§port: Option<Option<u16>>
§path: Option<String>
§version: Option<Option<ImageVersion>>
Trait Implementations§
Source§impl Clone for ImageNamePatch
impl Clone for ImageNamePatch
Source§fn clone(&self) -> ImageNamePatch
fn clone(&self) -> ImageNamePatch
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImageNamePatch
impl Debug for ImageNamePatch
Source§impl Default for ImageNamePatch
impl Default for ImageNamePatch
Source§fn default() -> ImageNamePatch
fn default() -> ImageNamePatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageNamePatchwhere
ImageNamePatch: Default,
impl<'de> Deserialize<'de> for ImageNamePatchwhere
ImageNamePatch: Default,
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<ImageNamePatch> for ImageName
impl From<ImageNamePatch> for ImageName
Source§fn from(value: ImageNamePatch) -> Self
fn from(value: ImageNamePatch) -> Self
Converts to this type from the input type.
Source§impl FromStr for ImageNamePatch
impl FromStr for ImageNamePatch
Source§impl PartialEq for ImageNamePatch
impl PartialEq for ImageNamePatch
Source§impl Patch<ImageNamePatch> for ImageName
impl Patch<ImageNamePatch> for ImageName
Source§fn apply(&mut self, patch: ImageNamePatch)
fn apply(&mut self, patch: ImageNamePatch)
Apply a patch
Source§fn into_patch(self) -> ImageNamePatch
fn into_patch(self) -> ImageNamePatch
Returns a patch that when applied turns any struct of the same type into
Self
Source§fn into_patch_by_diff(self, previous_struct: Self) -> ImageNamePatch
fn into_patch_by_diff(self, previous_struct: Self) -> ImageNamePatch
Returns a patch that when applied turns
previous_struct
into Self
Source§fn new_empty_patch() -> ImageNamePatch
fn new_empty_patch() -> ImageNamePatch
Get an empty patch instance
impl StructuralPartialEq for ImageNamePatch
Auto Trait Implementations§
impl Freeze for ImageNamePatch
impl RefUnwindSafe for ImageNamePatch
impl Send for ImageNamePatch
impl Sync for ImageNamePatch
impl Unpin for ImageNamePatch
impl UnwindSafe for ImageNamePatch
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