pub struct MeteredInput { /* private fields */ }Implementations§
Source§impl MeteredInput
impl MeteredInput
pub fn line_items<T>(self, value: T) -> Self
pub fn subject<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for MeteredInput
impl Clone for MeteredInput
Source§fn clone(&self) -> MeteredInput
fn clone(&self) -> MeteredInput
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 MeteredInput
impl Debug for MeteredInput
Source§impl Default for MeteredInput
impl Default for MeteredInput
Source§impl From<MeteredInput> for MeteredInput
impl From<MeteredInput> for MeteredInput
Source§fn from(value: MeteredInput) -> Self
fn from(value: MeteredInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<MeteredInput> for MeteredInput
impl TryFrom<MeteredInput> for MeteredInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: MeteredInput) -> Result<Self, ConversionError>
fn try_from(value: MeteredInput) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MeteredInput
impl RefUnwindSafe for MeteredInput
impl Send for MeteredInput
impl Sync for MeteredInput
impl Unpin for MeteredInput
impl UnsafeUnpin for MeteredInput
impl UnwindSafe for MeteredInput
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