#[non_exhaustive]pub struct CustomAreaDatasetRegionResult {
pub region: RegionCode,
pub state: DatasetRegionState,
pub outcome: Option<DatasetOutcome>,
pub reason: Option<String>,
pub dataset: Option<CustomAreaDataset>,
}Expand description
One R19 regional result, including mixed outcome and optional dataset metadata.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.region: RegionCodeIS DTMK region code.
state: DatasetRegionStateRaw-preserving regional state.
outcome: Option<DatasetOutcome>Optional allow/reject outcome.
reason: Option<String>Optional server-provided reason, redacted from debugging.
dataset: Option<CustomAreaDataset>Optional dataset metadata.
Trait Implementations§
impl Eq for CustomAreaDatasetRegionResult
impl StructuralPartialEq for CustomAreaDatasetRegionResult
Auto Trait Implementations§
impl Forget for CustomAreaDatasetRegionResult
impl Freeze for CustomAreaDatasetRegionResult
impl Move for CustomAreaDatasetRegionResult
impl RefUnwindSafe for CustomAreaDatasetRegionResult
impl Send for CustomAreaDatasetRegionResult
impl Sync for CustomAreaDatasetRegionResult
impl Unpin for CustomAreaDatasetRegionResult
impl UnsafeUnpin for CustomAreaDatasetRegionResult
impl UnwindSafe for CustomAreaDatasetRegionResult
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