#[non_exhaustive]pub struct HostConfig {
pub html: String,
pub api: String,
pub git_http: String,
pub git_ssh: String,
/* private fields */
}Expand description
HostConfig has different instance endpoints.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.html: StringOutput only. HTML hostname.
api: StringOutput only. API hostname.
git_http: StringOutput only. Git HTTP hostname.
git_ssh: StringOutput only. Git SSH hostname.
Implementations§
Trait Implementations§
Source§impl Clone for HostConfig
impl Clone for HostConfig
Source§fn clone(&self) -> HostConfig
fn clone(&self) -> HostConfig
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 moreSource§impl Debug for HostConfig
impl Debug for HostConfig
Source§impl Default for HostConfig
impl Default for HostConfig
Source§fn default() -> HostConfig
fn default() -> HostConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for HostConfig
impl PartialEq for HostConfig
impl StructuralPartialEq for HostConfig
Auto Trait Implementations§
impl Freeze for HostConfig
impl RefUnwindSafe for HostConfig
impl Send for HostConfig
impl Sync for HostConfig
impl Unpin for HostConfig
impl UnwindSafe for HostConfig
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