use crate::nns::NnsInventoryListRequest;
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct NnsTopologyRefreshRequest {
pub read: NnsInventoryListRequest,
pub dry_run: bool,
}
impl NnsTopologyRefreshRequest {
#[must_use]
pub const fn new(read: NnsInventoryListRequest) -> Self {
Self {
read,
dry_run: false,
}
}
#[must_use]
pub const fn with_dry_run(mut self, dry_run: bool) -> Self {
self.dry_run = dry_run;
self
}
}