#[non_exhaustive]pub struct CustomHostConfig {
pub html: String,
pub api: String,
pub git_ssh: String,
pub git_http: String,
/* private fields */
}Expand description
Custom host config for the instance.
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: StringRequired. The custom UI hostname for the instance, e.g., “git.source.internal.mycompany.com”
api: StringRequired. The custom API hostname for the instance, e.g., “api.source.internal.mycompany.com”
git_ssh: StringRequired. The custom git ssh hostname for the instance, e.g., “ssh.source.internal.mycompany.com”
git_http: StringRequired. The custom git http hostname for the instance, e.g., “git.source.internal.mycompany.com”
Implementations§
Trait Implementations§
Source§impl Clone for CustomHostConfig
impl Clone for CustomHostConfig
Source§fn clone(&self) -> CustomHostConfig
fn clone(&self) -> CustomHostConfig
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 CustomHostConfig
impl Debug for CustomHostConfig
Source§impl Default for CustomHostConfig
impl Default for CustomHostConfig
Source§fn default() -> CustomHostConfig
fn default() -> CustomHostConfig
Returns the “default value” for a type. Read more
Source§impl Message for CustomHostConfig
impl Message for CustomHostConfig
Source§impl PartialEq for CustomHostConfig
impl PartialEq for CustomHostConfig
impl StructuralPartialEq for CustomHostConfig
Auto Trait Implementations§
impl Freeze for CustomHostConfig
impl RefUnwindSafe for CustomHostConfig
impl Send for CustomHostConfig
impl Sync for CustomHostConfig
impl Unpin for CustomHostConfig
impl UnsafeUnpin for CustomHostConfig
impl UnwindSafe for CustomHostConfig
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