[][src]Struct rustsec::repository::support::RustSec

pub struct RustSec {
    pub version: VersionReq,
    pub next_update: Option<NextUpdate>,
}

Supported rustsec crate version metadata

Fields

version: VersionReq

Supported versions of the RustSec crate

next_update: Option<NextUpdate>

Information about the next (breaking) update

Methods

impl RustSec[src]

pub fn is_supported(&self) -> bool[src]

Is the current version of this crate supported?

Trait Implementations

impl Clone for RustSec[src]

impl Debug for RustSec[src]

impl Serialize for RustSec[src]

impl<'de> Deserialize<'de> for RustSec[src]

Auto Trait Implementations

impl Send for RustSec

impl Unpin for RustSec

impl Sync for RustSec

impl UnwindSafe for RustSec

impl RefUnwindSafe for RustSec

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]