pub struct LayoutConversion {
pub semantic_type: String,
pub from: Layout,
pub to: Layout,
pub max_input_bytes: u64,
pub max_output_bytes: u64,
}Fields§
§semantic_type: String§from: Layout§to: Layout§max_input_bytes: u64§max_output_bytes: u64Trait Implementations§
Source§impl Clone for LayoutConversion
impl Clone for LayoutConversion
Source§fn clone(&self) -> LayoutConversion
fn clone(&self) -> LayoutConversion
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 LayoutConversion
impl Debug for LayoutConversion
Source§impl<'de> Deserialize<'de> for LayoutConversion
impl<'de> Deserialize<'de> for LayoutConversion
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
impl Eq for LayoutConversion
Source§impl Ord for LayoutConversion
impl Ord for LayoutConversion
Source§fn cmp(&self, other: &LayoutConversion) -> Ordering
fn cmp(&self, other: &LayoutConversion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LayoutConversion
impl PartialEq for LayoutConversion
Source§impl PartialOrd for LayoutConversion
impl PartialOrd for LayoutConversion
Source§impl Serialize for LayoutConversion
impl Serialize for LayoutConversion
impl StructuralPartialEq for LayoutConversion
Auto Trait Implementations§
impl Freeze for LayoutConversion
impl RefUnwindSafe for LayoutConversion
impl Send for LayoutConversion
impl Sync for LayoutConversion
impl Unpin for LayoutConversion
impl UnsafeUnpin for LayoutConversion
impl UnwindSafe for LayoutConversion
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