pub struct HostAddArgs {
pub name: String,
pub target: String,
pub port: Option<u16>,
pub identity: Option<PathBuf>,
pub bucket: String,
pub region: String,
pub prefix: String,
pub endpoint: Option<String>,
pub recipient: String,
pub binary: Option<PathBuf>,
pub mirror: bool,
}Fields§
§name: String§target: String§port: Option<u16>§identity: Option<PathBuf>§bucket: String§region: String§prefix: String§endpoint: Option<String>§recipient: String§binary: Option<PathBuf>Binary to ship to the host. None auto-fetches the matching release
asset for this client’s version (see release::fetch_host_binary).
mirror: boolDesignate this host the GitHub mirror once it’s wired and registered.
Requires GIT_ARK_GITHUB_TOKEN; demotes whichever other host
currently holds the mirror (see designate_mirror).
Auto Trait Implementations§
impl Freeze for HostAddArgs
impl RefUnwindSafe for HostAddArgs
impl Send for HostAddArgs
impl Sync for HostAddArgs
impl Unpin for HostAddArgs
impl UnsafeUnpin for HostAddArgs
impl UnwindSafe for HostAddArgs
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