pub struct ConnectionListResponse {
pub connections: Vec<SpatioConnection>,
pub categories: Option<Vec<String>>,
}Fields§
§connections: Vec<SpatioConnection>§categories: Option<Vec<String>>Implementations§
Source§impl ConnectionListResponse
impl ConnectionListResponse
pub fn new(connections: Vec<SpatioConnection>) -> ConnectionListResponse
Trait Implementations§
Source§impl Clone for ConnectionListResponse
impl Clone for ConnectionListResponse
Source§fn clone(&self) -> ConnectionListResponse
fn clone(&self) -> ConnectionListResponse
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 ConnectionListResponse
impl Debug for ConnectionListResponse
Source§impl Default for ConnectionListResponse
impl Default for ConnectionListResponse
Source§fn default() -> ConnectionListResponse
fn default() -> ConnectionListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectionListResponse
impl<'de> Deserialize<'de> for ConnectionListResponse
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 PartialEq for ConnectionListResponse
impl PartialEq for ConnectionListResponse
Source§fn eq(&self, other: &ConnectionListResponse) -> bool
fn eq(&self, other: &ConnectionListResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConnectionListResponse
impl Serialize for ConnectionListResponse
impl StructuralPartialEq for ConnectionListResponse
Auto Trait Implementations§
impl Freeze for ConnectionListResponse
impl RefUnwindSafe for ConnectionListResponse
impl Send for ConnectionListResponse
impl Sync for ConnectionListResponse
impl Unpin for ConnectionListResponse
impl UnsafeUnpin for ConnectionListResponse
impl UnwindSafe for ConnectionListResponse
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