pub struct Endpoint {
pub address: Option<String>,
pub port: Option<i64>,
}
Expand description
Represents the information required for client programs to connect to a cache node.
Fields§
§address: Option<String>
The DNS hostname of the cache node.
port: Option<i64>
The port number that the cache engine is listening on.
Trait Implementations§
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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