pub struct SurfaceOperation {
pub id: OperationId,
pub name: String,
pub description: Option<String>,
pub input_schema: Value,
pub output_schema: Value,
pub example_request: Value,
pub wasm_supported: bool,
pub server_supported: bool,
}Fields§
§id: OperationId§name: String§description: Option<String>§input_schema: Value§output_schema: Value§example_request: Value§wasm_supported: bool§server_supported: boolTrait Implementations§
Source§impl Clone for SurfaceOperation
impl Clone for SurfaceOperation
Source§fn clone(&self) -> SurfaceOperation
fn clone(&self) -> SurfaceOperation
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 SurfaceOperation
impl Debug for SurfaceOperation
Source§impl<'de> Deserialize<'de> for SurfaceOperation
impl<'de> Deserialize<'de> for SurfaceOperation
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 SurfaceOperation
impl PartialEq for SurfaceOperation
Source§fn eq(&self, other: &SurfaceOperation) -> bool
fn eq(&self, other: &SurfaceOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SurfaceOperation
impl Serialize for SurfaceOperation
impl StructuralPartialEq for SurfaceOperation
Auto Trait Implementations§
impl Freeze for SurfaceOperation
impl RefUnwindSafe for SurfaceOperation
impl Send for SurfaceOperation
impl Sync for SurfaceOperation
impl Unpin for SurfaceOperation
impl UnsafeUnpin for SurfaceOperation
impl UnwindSafe for SurfaceOperation
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