pub struct PortResult {
pub binding: String,
pub success: bool,
}
Expand description
Result from port command
Fields§
§binding: String
The public port binding (host:port)
success: bool
Whether the operation succeeded
Implementations§
Trait Implementations§
Source§impl Clone for PortResult
impl Clone for PortResult
Source§fn clone(&self) -> PortResult
fn clone(&self) -> PortResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PortResult
impl RefUnwindSafe for PortResult
impl Send for PortResult
impl Sync for PortResult
impl Unpin for PortResult
impl UnwindSafe for PortResult
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