pub struct Availability {
pub available: bool,
pub reason: Option<String>,
}Expand description
Whether Entire could be asked, for --json: {available: true}, or
{available: false, reason}.
Fields§
§available: bool§reason: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for Availability
impl Clone for Availability
Source§impl Debug for Availability
impl Debug for Availability
impl Eq for Availability
Source§impl PartialEq for Availability
impl PartialEq for Availability
Source§impl Serialize for Availability
impl Serialize for Availability
impl StructuralPartialEq for Availability
Auto Trait Implementations§
impl Forget for Availability
impl Freeze for Availability
impl Move for Availability
impl RefUnwindSafe for Availability
impl Send for Availability
impl Sync for Availability
impl Unpin for Availability
impl UnsafeUnpin for Availability
impl UnwindSafe for Availability
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