pub struct Expose<M, T> { /* private fields */ }Expand description
A model property exposed as a GraphQL field.
Construct it with expose!; it is consumed by
ObjectBuilder::expose.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<M, T> !RefUnwindSafe for Expose<M, T>
impl<M, T> !UnwindSafe for Expose<M, T>
impl<M, T> Forget for Expose<M, T>
impl<M, T> Freeze for Expose<M, T>
impl<M, T> Move for Expose<M, T>
impl<M, T> Send for Expose<M, T>
impl<M, T> Sync for Expose<M, T>
impl<M, T> Unpin for Expose<M, T>
impl<M, T> UnsafeUnpin for Expose<M, T>
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