pub struct LocalEndpointView {
pub relay_url: String,
pub slot_id: String,
}Expand description
Stripped view of a Local endpoint for tooling output. Drops
slot_token because it is a bearer credential — exposing it
through wire session list-local --json would risk accidental
leak via logs, screenshots, or piped output. Routing code uses
the full Endpoint from relay-state.json directly; this type
is for human/JSON observation only.
Fields§
§relay_url: String§slot_id: StringTrait Implementations§
Source§impl Clone for LocalEndpointView
impl Clone for LocalEndpointView
Source§fn clone(&self) -> LocalEndpointView
fn clone(&self) -> LocalEndpointView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalEndpointView
impl Debug for LocalEndpointView
Auto Trait Implementations§
impl Freeze for LocalEndpointView
impl RefUnwindSafe for LocalEndpointView
impl Send for LocalEndpointView
impl Sync for LocalEndpointView
impl Unpin for LocalEndpointView
impl UnsafeUnpin for LocalEndpointView
impl UnwindSafe for LocalEndpointView
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