pub struct RecordPendingParams<'a> {
pub service_name: &'a str,
pub auth_kind: Option<AuthKind>,
pub registry_name: &'a str,
pub allocated_ports: &'a [(String, u16)],
pub repo_dir: &'a Path,
pub exposure: &'a Exposure,
}Expand description
Parameters for record_pending.
Fields§
§service_name: &'a str§auth_kind: Option<AuthKind>§registry_name: &'a str§allocated_ports: &'a [(String, u16)]§repo_dir: &'a Path§exposure: &'a ExposureHow the service is exposed to clients. Replaces the previous
(url: Option<&str>, tailscale_enabled: bool) pair so callers
can’t construct invalid combinations like a *.ts.net URL with
tailscale_enabled = false. Decomposed into the legacy storage
fields inside record_pending until the schema migrates to
hold the typed enum directly.
Auto Trait Implementations§
impl<'a> Freeze for RecordPendingParams<'a>
impl<'a> RefUnwindSafe for RecordPendingParams<'a>
impl<'a> Send for RecordPendingParams<'a>
impl<'a> Sync for RecordPendingParams<'a>
impl<'a> Unpin for RecordPendingParams<'a>
impl<'a> UnsafeUnpin for RecordPendingParams<'a>
impl<'a> UnwindSafe for RecordPendingParams<'a>
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