pub struct RepresentationSpec {
pub id: RepresentationId,
pub type_id: TypeId,
pub rank: Option<usize>,
pub axes: Vec<AxisSpec>,
pub container: String,
pub dtype: Option<String>,
pub sparse: bool,
pub ragged: bool,
pub signal_type: Option<SignalKind>,
}Fields§
§id: RepresentationId§type_id: TypeId§rank: Option<usize>§axes: Vec<AxisSpec>§container: String§dtype: Option<String>§sparse: bool§ragged: bool§signal_type: Option<SignalKind>Implementations§
Trait Implementations§
Source§impl Clone for RepresentationSpec
impl Clone for RepresentationSpec
Source§fn clone(&self) -> RepresentationSpec
fn clone(&self) -> RepresentationSpec
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 RepresentationSpec
impl Debug for RepresentationSpec
Source§impl<'de> Deserialize<'de> for RepresentationSpec
impl<'de> Deserialize<'de> for RepresentationSpec
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RepresentationSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RepresentationSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RepresentationSpec
impl PartialEq for RepresentationSpec
Source§fn eq(&self, other: &RepresentationSpec) -> bool
fn eq(&self, other: &RepresentationSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepresentationSpec
impl Serialize for RepresentationSpec
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RepresentationSpec
Auto Trait Implementations§
impl Freeze for RepresentationSpec
impl RefUnwindSafe for RepresentationSpec
impl Send for RepresentationSpec
impl Sync for RepresentationSpec
impl Unpin for RepresentationSpec
impl UnsafeUnpin for RepresentationSpec
impl UnwindSafe for RepresentationSpec
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