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>
impl<'a> StructuralPartialEq for ServiceEndpointOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for ServiceEndpointOpts<'a>
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