Struct festival_api::models::NewGenerationRequest [−][src]
pub struct NewGenerationRequest {
pub usr_id: i32,
pub word: String,
pub lang: String,
pub speed: f32,
pub fmt: String,
}Expand description
A request to generate a .wav file from text for a user, to be stored in the db. This is an insertion object for the reqs table of the database.
Fields
usr_id: i32word: Stringlang: Stringspeed: f32fmt: StringAuto Trait Implementations
impl RefUnwindSafe for NewGenerationRequest
impl Send for NewGenerationRequest
impl Sync for NewGenerationRequest
impl Unpin for NewGenerationRequest
impl UnwindSafe for NewGenerationRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
