pub struct VoiceListQuery {
pub voice_name: Option<String>,
pub voice_type: Option<VoiceType>,
}Fields§
§voice_name: Option<String>音色名称, 如果传入中文, 需要 url encode
voice_type: Option<VoiceType>音色类型: OFFICIAL / PRIVATE
Implementations§
Source§impl VoiceListQuery
impl VoiceListQuery
pub fn new() -> Self
pub fn with_voice_name(self, name: impl Into<String>) -> Self
pub fn with_voice_type(self, vt: VoiceType) -> Self
Trait Implementations§
Source§impl Clone for VoiceListQuery
impl Clone for VoiceListQuery
Source§fn clone(&self) -> VoiceListQuery
fn clone(&self) -> VoiceListQuery
Returns a duplicate 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 moreSource§impl Debug for VoiceListQuery
impl Debug for VoiceListQuery
Source§impl Default for VoiceListQuery
impl Default for VoiceListQuery
Source§impl Serialize for VoiceListQuery
impl Serialize for VoiceListQuery
Source§impl Validate for VoiceListQuery
impl Validate for VoiceListQuery
Source§impl<'v_a> ValidateArgs<'v_a> for VoiceListQuery
impl<'v_a> ValidateArgs<'v_a> for VoiceListQuery
Auto Trait Implementations§
impl Freeze for VoiceListQuery
impl RefUnwindSafe for VoiceListQuery
impl Send for VoiceListQuery
impl Sync for VoiceListQuery
impl Unpin for VoiceListQuery
impl UnsafeUnpin for VoiceListQuery
impl UnwindSafe for VoiceListQuery
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