pub struct InputObjectShape(/* private fields */);Implementations§
Source§impl InputObjectShape
impl InputObjectShape
pub fn new(elements: Vec<InputShapeElement>) -> Self
Trait Implementations§
Source§impl Clone for InputObjectShape
impl Clone for InputObjectShape
Source§fn clone(&self) -> InputObjectShape
fn clone(&self) -> InputObjectShape
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputObjectShape
impl Debug for InputObjectShape
Source§impl Deref for InputObjectShape
impl Deref for InputObjectShape
Source§type Target = InputObjectShapeInfo
type Target = InputObjectShapeInfo
The resulting type after dereferencing.
Source§fn deref(&self) -> &InputObjectShapeInfo
fn deref(&self) -> &InputObjectShapeInfo
Dereferences the value.
Source§impl<'a> From<&'a [InputShapeElement]> for InputObjectShape
impl<'a> From<&'a [InputShapeElement]> for InputObjectShape
Source§fn from(shape: &'a [InputShapeElement]) -> InputObjectShape
fn from(shape: &'a [InputShapeElement]) -> InputObjectShape
Converts to this type from the input type.
Source§impl PartialEq for InputObjectShape
impl PartialEq for InputObjectShape
impl Eq for InputObjectShape
impl StructuralPartialEq for InputObjectShape
Auto Trait Implementations§
impl Freeze for InputObjectShape
impl RefUnwindSafe for InputObjectShape
impl Send for InputObjectShape
impl Sync for InputObjectShape
impl Unpin for InputObjectShape
impl UnwindSafe for InputObjectShape
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<T> EncoderForExt for Twhere
T: ?Sized,
impl<T> EncoderForExt for Twhere
T: ?Sized,
Source§fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
Convert this builder into a vector of bytes. This is generally
not the most efficient way to perform serialization.
Source§fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.
Source§fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.