pub struct ActivationDescriptor {
pub version: u32,
pub dtype: ActivationDType,
pub layout: ActivationLayout,
pub producer_stage_index: i32,
pub layer_start: i32,
pub layer_end: i32,
pub token_count: u32,
pub sequence_count: u32,
pub payload_bytes: u64,
pub flags: u64,
pub payload_sha256: Option<String>,
}Fields§
§version: u32§dtype: ActivationDType§layout: ActivationLayout§producer_stage_index: i32§layer_start: i32§layer_end: i32§token_count: u32§sequence_count: u32§payload_bytes: u64§flags: u64§payload_sha256: Option<String>Trait Implementations§
Source§impl Clone for ActivationDescriptor
impl Clone for ActivationDescriptor
Source§fn clone(&self) -> ActivationDescriptor
fn clone(&self) -> ActivationDescriptor
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 ActivationDescriptor
impl Debug for ActivationDescriptor
Source§impl<'de> Deserialize<'de> for ActivationDescriptor
impl<'de> Deserialize<'de> for ActivationDescriptor
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 ActivationDescriptor
Source§impl PartialEq for ActivationDescriptor
impl PartialEq for ActivationDescriptor
Source§impl Serialize for ActivationDescriptor
impl Serialize for ActivationDescriptor
impl StructuralPartialEq for ActivationDescriptor
Auto Trait Implementations§
impl Freeze for ActivationDescriptor
impl RefUnwindSafe for ActivationDescriptor
impl Send for ActivationDescriptor
impl Sync for ActivationDescriptor
impl Unpin for ActivationDescriptor
impl UnsafeUnpin for ActivationDescriptor
impl UnwindSafe for ActivationDescriptor
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