pub struct AddToStoreNarRequest {
pub path: StorePath<String>,
pub deriver: Option<StorePath<String>>,
pub nar_hash: NarHash,
pub references: Vec<StorePath<String>>,
pub registration_time: u64,
pub nar_size: u64,
pub ultimate: bool,
pub signatures: Vec<Signature<String>>,
pub ca: Option<CAHash>,
pub repair: bool,
pub dont_check_sigs: bool,
}Expand description
Request type for super::worker_protocol::Operation::AddToStoreNar
Fields§
§path: StorePath<String>§deriver: Option<StorePath<String>>§nar_hash: NarHash§references: Vec<StorePath<String>>§registration_time: u64§nar_size: u64§ultimate: bool§signatures: Vec<Signature<String>>§ca: Option<CAHash>§repair: bool§dont_check_sigs: boolTrait Implementations§
Source§impl Debug for AddToStoreNarRequest
impl Debug for AddToStoreNarRequest
Source§impl NixDeserialize for AddToStoreNarRequest
impl NixDeserialize for AddToStoreNarRequest
Source§fn try_deserialize<R>(
reader: &mut R,
) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
fn try_deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Option<Self>, R::Error>> + Send + '_
Read a value from the reader.
This returns an Option to support gracefull shutdown.
fn deserialize<R>( reader: &mut R, ) -> impl Future<Output = Result<Self, R::Error>> + Send + '_
Auto Trait Implementations§
impl Freeze for AddToStoreNarRequest
impl RefUnwindSafe for AddToStoreNarRequest
impl Send for AddToStoreNarRequest
impl Sync for AddToStoreNarRequest
impl Unpin for AddToStoreNarRequest
impl UnwindSafe for AddToStoreNarRequest
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