Struct dagger_sdk::ContainerEndpointOpts
source · pub struct ContainerEndpointOpts<'a> {
pub port: Option<isize>,
pub scheme: Option<&'a str>,
}Fields§
§port: Option<isize>The exposed port number for the endpoint
scheme: Option<&'a str>Return a URL with the given scheme, eg. http for http://
Trait Implementations§
source§impl<'a> Debug for ContainerEndpointOpts<'a>
impl<'a> Debug for ContainerEndpointOpts<'a>
source§impl<'a> PartialEq<ContainerEndpointOpts<'a>> for ContainerEndpointOpts<'a>
impl<'a> PartialEq<ContainerEndpointOpts<'a>> for ContainerEndpointOpts<'a>
source§fn eq(&self, other: &ContainerEndpointOpts<'a>) -> bool
fn eq(&self, other: &ContainerEndpointOpts<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.