Enum rosu_render::model::Verification
source · pub enum Verification {
Key(Box<str>),
DevModeSuccess,
DevModeFail,
DevModeWsFail,
}Expand description
Specifying your verification key will allow you to bypass the default ratelimit of one render per five minutes. Alternatively, you can specify a dev mode to simulate events and not spam the real backend with requests while testing things.
Variants§
Key(Box<str>)
Verification key assigned by the o!rdr dev. DM MasterIO#4588 on Discord to get one.
DevModeSuccess
Simulates a request that will successfully render a video. Listen to the websocket to get the state of this fake render (render_added, render_progress and render_done are emitted).
DevModeFail
Simulates a request that will fail on the API level. No websocket events are emitted.
DevModeWsFail
Simulates a request that will fail on the Websocket level (render_failed event is emitted).
Implementations§
Trait Implementations§
source§impl Clone for Verification
impl Clone for Verification
source§fn clone(&self) -> Verification
fn clone(&self) -> Verification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnwindSafe for Verification
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