made-core 0.7.7

Domain core of MADE: entities, value objects, events, ports. No IO.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::value_objects::ArtifactId;

use super::{ArtifactByteOffset, ArtifactChunkLimit};

/// One bounded artifact read.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct ReadArtifactChunk {
    pub artifact_id: ArtifactId,
    pub offset: ArtifactByteOffset,
    pub max_bytes: ArtifactChunkLimit,
}