pub struct ApiGatewayV2Connection {
pub connection_id: String,
pub api_id: String,
pub stage: String,
pub connected_at: String,
pub last_active_at: String,
pub source_ip: String,
}Expand description
Single active WebSocket connection tracked by the API Gateway v2
fake. Returned by GET /_fakecloud/apigatewayv2/connections.
Fields§
§connection_id: String§api_id: String§stage: String§connected_at: String§last_active_at: String§source_ip: StringTrait Implementations§
Source§impl Clone for ApiGatewayV2Connection
impl Clone for ApiGatewayV2Connection
Source§fn clone(&self) -> ApiGatewayV2Connection
fn clone(&self) -> ApiGatewayV2Connection
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 ApiGatewayV2Connection
impl Debug for ApiGatewayV2Connection
Source§impl<'de> Deserialize<'de> for ApiGatewayV2Connection
impl<'de> Deserialize<'de> for ApiGatewayV2Connection
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
Auto Trait Implementations§
impl Freeze for ApiGatewayV2Connection
impl RefUnwindSafe for ApiGatewayV2Connection
impl Send for ApiGatewayV2Connection
impl Sync for ApiGatewayV2Connection
impl Unpin for ApiGatewayV2Connection
impl UnsafeUnpin for ApiGatewayV2Connection
impl UnwindSafe for ApiGatewayV2Connection
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