pub struct AppInterfaceInfo {
pub port: u16,
pub allowed_origins: AllowedOrigins,
pub installed_app_id: Option<InstalledAppId>,
}Expand description
Informational response for listing app interfaces.
Fields§
§port: u16The port that the app interface is listening on.
allowed_origins: AllowedOriginsThe allowed origins for this app interface.
installed_app_id: Option<InstalledAppId>The optional association with a specific installed app.
Trait Implementations§
Source§impl Clone for AppInterfaceInfo
impl Clone for AppInterfaceInfo
Source§fn clone(&self) -> AppInterfaceInfo
fn clone(&self) -> AppInterfaceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AppInterfaceInfo
impl Debug for AppInterfaceInfo
Source§impl<'de> Deserialize<'de> for AppInterfaceInfo
impl<'de> Deserialize<'de> for AppInterfaceInfo
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
Source§impl Serialize for AppInterfaceInfo
impl Serialize for AppInterfaceInfo
Source§impl TryFrom<&AppInterfaceInfo> for SerializedBytes
impl TryFrom<&AppInterfaceInfo> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
t: &AppInterfaceInfo,
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: &AppInterfaceInfo, ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<AppInterfaceInfo> for SerializedBytes
impl TryFrom<AppInterfaceInfo> for SerializedBytes
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
t: AppInterfaceInfo,
) -> Result<SerializedBytes, SerializedBytesError>
fn try_from( t: AppInterfaceInfo, ) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
Source§impl TryFrom<SerializedBytes> for AppInterfaceInfo
impl TryFrom<SerializedBytes> for AppInterfaceInfo
Source§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
Source§fn try_from(
sb: SerializedBytes,
) -> Result<AppInterfaceInfo, SerializedBytesError>
fn try_from( sb: SerializedBytes, ) -> Result<AppInterfaceInfo, SerializedBytesError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AppInterfaceInfo
impl RefUnwindSafe for AppInterfaceInfo
impl Send for AppInterfaceInfo
impl Sync for AppInterfaceInfo
impl Unpin for AppInterfaceInfo
impl UnsafeUnpin for AppInterfaceInfo
impl UnwindSafe for AppInterfaceInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more