Struct dagger_sdk::ContainerWithExposedPortOpts
source · pub struct ContainerWithExposedPortOpts<'a> {
pub description: Option<&'a str>,
pub protocol: Option<NetworkProtocol>,
}Fields§
§description: Option<&'a str>Optional port description
protocol: Option<NetworkProtocol>Transport layer network protocol
Trait Implementations§
source§impl<'a> Debug for ContainerWithExposedPortOpts<'a>
impl<'a> Debug for ContainerWithExposedPortOpts<'a>
source§impl<'a> PartialEq for ContainerWithExposedPortOpts<'a>
impl<'a> PartialEq for ContainerWithExposedPortOpts<'a>
source§fn eq(&self, other: &ContainerWithExposedPortOpts<'a>) -> bool
fn eq(&self, other: &ContainerWithExposedPortOpts<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for ContainerWithExposedPortOpts<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ContainerWithExposedPortOpts<'a>
impl<'a> Send for ContainerWithExposedPortOpts<'a>
impl<'a> Sync for ContainerWithExposedPortOpts<'a>
impl<'a> Unpin for ContainerWithExposedPortOpts<'a>
impl<'a> UnwindSafe for ContainerWithExposedPortOpts<'a>
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