pub struct SurfaceResponse {
pub descriptor: SurfaceDescriptor,
pub provider_count: usize,
}Expand description
Surface list item returned by /api/v1/surfaces.
Fields§
§descriptor: SurfaceDescriptor§provider_count: usizeTrait Implementations§
Source§impl Clone for SurfaceResponse
impl Clone for SurfaceResponse
Source§fn clone(&self) -> SurfaceResponse
fn clone(&self) -> SurfaceResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 SurfaceResponse
impl Debug for SurfaceResponse
Source§impl<'de> Deserialize<'de> for SurfaceResponse
impl<'de> Deserialize<'de> for SurfaceResponse
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 SurfaceResponse
impl RefUnwindSafe for SurfaceResponse
impl Send for SurfaceResponse
impl Sync for SurfaceResponse
impl Unpin for SurfaceResponse
impl UnsafeUnpin for SurfaceResponse
impl UnwindSafe for SurfaceResponse
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