pub struct ContainerReference {
pub container_id: String,
pub type_: String,
}Fields§
§container_id: StringThe ID of the referenced container.
type_: StringReferences a container created with the /v1/containers endpoint
Trait Implementations§
Source§impl Clone for ContainerReference
impl Clone for ContainerReference
Source§fn clone(&self) -> ContainerReference
fn clone(&self) -> ContainerReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContainerReference
impl Debug for ContainerReference
Source§impl<'de> Deserialize<'de> for ContainerReference
impl<'de> Deserialize<'de> for ContainerReference
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
Auto Trait Implementations§
impl Freeze for ContainerReference
impl RefUnwindSafe for ContainerReference
impl Send for ContainerReference
impl Sync for ContainerReference
impl Unpin for ContainerReference
impl UnsafeUnpin for ContainerReference
impl UnwindSafe for ContainerReference
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