pub struct ServerEntry {
pub name: String,
pub config: ServerConfig,
pub source: PathBuf,
pub scope: Scope,
}Expand description
A configured server.
Fields§
§name: StringIts name.
config: ServerConfigIts settings.
source: PathBufThe file that defined it.
scope: ScopeWhich file that is.
Implementations§
Source§impl ServerEntry
impl ServerEntry
Sourcepub fn describe_transport(&self) -> String
pub fn describe_transport(&self) -> String
pi’s describeTransport: the URL, or the command line.
Trait Implementations§
Source§impl Clone for ServerEntry
impl Clone for ServerEntry
Source§impl Debug for ServerEntry
impl Debug for ServerEntry
Source§impl PartialEq for ServerEntry
impl PartialEq for ServerEntry
impl StructuralPartialEq for ServerEntry
Auto Trait Implementations§
impl Forget for ServerEntry
impl Freeze for ServerEntry
impl RefUnwindSafe for ServerEntry
impl Send for ServerEntry
impl Sync for ServerEntry
impl Unpin for ServerEntry
impl UnsafeUnpin for ServerEntry
impl UnwindSafe for ServerEntry
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