pub struct HelperSchema {
pub name: String,
pub params: Vec<FieldSchema>,
pub returns: TypeRef,
pub body: Expr,
}Fields§
§name: String§params: Vec<FieldSchema>§returns: TypeRef§body: ExprTrait Implementations§
Source§impl Clone for HelperSchema
impl Clone for HelperSchema
Source§fn clone(&self) -> HelperSchema
fn clone(&self) -> HelperSchema
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 HelperSchema
impl Debug for HelperSchema
impl Eq for HelperSchema
Source§impl PartialEq for HelperSchema
impl PartialEq for HelperSchema
Source§fn eq(&self, other: &HelperSchema) -> bool
fn eq(&self, other: &HelperSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HelperSchema
Auto Trait Implementations§
impl Freeze for HelperSchema
impl RefUnwindSafe for HelperSchema
impl Send for HelperSchema
impl Sync for HelperSchema
impl Unpin for HelperSchema
impl UnsafeUnpin for HelperSchema
impl UnwindSafe for HelperSchema
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.