pub struct UpdateCallbackBaseRequest {
pub network: HostNetworkSnapshot,
pub port: u16,
pub third_party_port: u16,
}Fields§
§network: HostNetworkSnapshotHost observation, never an independently discovered or fallback address.
port: u16Actual bound native HTTPS listener port. Zero means it is not ready.
third_party_port: u16Restricted third-party HTTP listener. Zero disables compatibility URLs.
Implementations§
Source§impl UpdateCallbackBaseRequest
impl UpdateCallbackBaseRequest
pub fn callback_base(&self, now_ms: i64) -> Option<String>
pub fn native_base(&self, now_ms: i64) -> Option<String>
Trait Implementations§
Source§impl Clone for UpdateCallbackBaseRequest
impl Clone for UpdateCallbackBaseRequest
Source§impl Debug for UpdateCallbackBaseRequest
impl Debug for UpdateCallbackBaseRequest
Source§impl Default for UpdateCallbackBaseRequest
impl Default for UpdateCallbackBaseRequest
Source§impl<'de> Deserialize<'de> for UpdateCallbackBaseRequest
impl<'de> Deserialize<'de> for UpdateCallbackBaseRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpdateCallbackBaseRequest
impl StructuralPartialEq for UpdateCallbackBaseRequest
Auto Trait Implementations§
impl Freeze for UpdateCallbackBaseRequest
impl RefUnwindSafe for UpdateCallbackBaseRequest
impl Send for UpdateCallbackBaseRequest
impl Sync for UpdateCallbackBaseRequest
impl Unpin for UpdateCallbackBaseRequest
impl UnsafeUnpin for UpdateCallbackBaseRequest
impl UnwindSafe for UpdateCallbackBaseRequest
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