pub struct DecthingsTensorRules {
pub shape: Vec<Option<u32>>,
pub allowed_types: Vec<DecthingsElementType>,
pub annotations: Vec<String>,
}
Fields§
§shape: Vec<Option<u32>>
§allowed_types: Vec<DecthingsElementType>
§annotations: Vec<String>
Annotations are used by the user interface for example to specify minimum/maximum values for a field
Trait Implementations§
source§impl Clone for DecthingsTensorRules
impl Clone for DecthingsTensorRules
source§fn clone(&self) -> DecthingsTensorRules
fn clone(&self) -> DecthingsTensorRules
Returns a copy of the value. Read more
1.0.0 · 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 DecthingsTensorRules
impl Debug for DecthingsTensorRules
source§impl<'de> Deserialize<'de> for DecthingsTensorRules
impl<'de> Deserialize<'de> for DecthingsTensorRules
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
source§impl PartialEq for DecthingsTensorRules
impl PartialEq for DecthingsTensorRules
source§impl Serialize for DecthingsTensorRules
impl Serialize for DecthingsTensorRules
impl StructuralPartialEq for DecthingsTensorRules
Auto Trait Implementations§
impl Freeze for DecthingsTensorRules
impl RefUnwindSafe for DecthingsTensorRules
impl Send for DecthingsTensorRules
impl Sync for DecthingsTensorRules
impl Unpin for DecthingsTensorRules
impl UnwindSafe for DecthingsTensorRules
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)