Struct dagger_sdk::ServiceEndpointOpts
source · pub struct ServiceEndpointOpts<'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 ServiceEndpointOpts<'a>
impl<'a> Debug for ServiceEndpointOpts<'a>
source§impl<'a> PartialEq for ServiceEndpointOpts<'a>
impl<'a> PartialEq for ServiceEndpointOpts<'a>
source§fn eq(&self, other: &ServiceEndpointOpts<'a>) -> bool
fn eq(&self, other: &ServiceEndpointOpts<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for ServiceEndpointOpts<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ServiceEndpointOpts<'a>
impl<'a> Send for ServiceEndpointOpts<'a>
impl<'a> Sync for ServiceEndpointOpts<'a>
impl<'a> Unpin for ServiceEndpointOpts<'a>
impl<'a> UnwindSafe for ServiceEndpointOpts<'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