[][src]Struct snowchains_core::web::Submit

pub struct Submit<P: Platform, S: Shell> {
    pub target: P::SubmitTarget,
    pub credentials: P::SubmitCredentials,
    pub language_id: String,
    pub code: String,
    pub watch_submission: bool,
    pub cookie_storage: P::CookieStorage,
    pub timeout: Option<Duration>,
    pub shell: S,
}

Fields

target: P::SubmitTargetcredentials: P::SubmitCredentialslanguage_id: Stringcode: Stringwatch_submission: boolcookie_storage: P::CookieStoragetimeout: Option<Duration>shell: S

Trait Implementations

impl<P: Debug + Platform, S: Debug + Shell> Debug for Submit<P, S> where
    P::SubmitTarget: Debug,
    P::SubmitCredentials: Debug,
    P::CookieStorage: Debug
[src]

impl<S: Shell, '_> Exec<Submit<Atcoder<'_>, S>> for Atcoder<'_>[src]

impl<S: Shell, '_> Exec<Submit<Codeforces<'_>, S>> for Codeforces<'_>[src]

impl<S: Shell> Exec<Submit<Yukicoder, S>> for Yukicoder[src]

Auto Trait Implementations

impl<P, S> RefUnwindSafe for Submit<P, S> where
    S: RefUnwindSafe,
    <P as Platform>::CookieStorage: RefUnwindSafe,
    <P as Platform>::SubmitCredentials: RefUnwindSafe,
    <P as Platform>::SubmitTarget: RefUnwindSafe

impl<P, S> Send for Submit<P, S> where
    S: Send,
    <P as Platform>::CookieStorage: Send,
    <P as Platform>::SubmitCredentials: Send,
    <P as Platform>::SubmitTarget: Send

impl<P, S> Sync for Submit<P, S> where
    S: Sync,
    <P as Platform>::CookieStorage: Sync,
    <P as Platform>::SubmitCredentials: Sync,
    <P as Platform>::SubmitTarget: Sync

impl<P, S> Unpin for Submit<P, S> where
    S: Unpin,
    <P as Platform>::CookieStorage: Unpin,
    <P as Platform>::SubmitCredentials: Unpin,
    <P as Platform>::SubmitTarget: Unpin

impl<P, S> UnwindSafe for Submit<P, S> where
    S: UnwindSafe,
    <P as Platform>::CookieStorage: UnwindSafe,
    <P as Platform>::SubmitCredentials: UnwindSafe,
    <P as Platform>::SubmitTarget: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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<V, T> VZip<V> for T where
    V: MultiLane<T>,