pub struct CreateAuthor {Show 16 fields
pub name: String,
pub biography: Option<LocalizedString>,
pub twitter: Option<Option<Url>>,
pub pixiv: Option<Option<Url>>,
pub melon_book: Option<Option<Url>>,
pub fan_box: Option<Option<Url>>,
pub booth: Option<Option<Url>>,
pub nico_video: Option<Option<Url>>,
pub skeb: Option<Option<Url>>,
pub fantia: Option<Option<Url>>,
pub tumblr: Option<Option<Url>>,
pub youtube: Option<Option<Url>>,
pub weibo: Option<Option<Url>>,
pub naver: Option<Option<Url>>,
pub website: Option<Option<Url>>,
pub version: u16,
/* private fields */
}
Fields§
§name: String
§biography: Option<LocalizedString>
§twitter: Option<Option<Url>>
Nullable.
pixiv: Option<Option<Url>>
Nullable.
melon_book: Option<Option<Url>>
Nullable.
fan_box: Option<Option<Url>>
Nullable.
booth: Option<Option<Url>>
Nullable.
nico_video: Option<Option<Url>>
Nullable.
skeb: Option<Option<Url>>
Nullable.
fantia: Option<Option<Url>>
Nullable.
tumblr: Option<Option<Url>>
Nullable.
youtube: Option<Option<Url>>
Nullable.
weibo: Option<Option<Url>>
https://weibo.cn/u/ or https://m.weibo.cn/u/
Nullable.
Nullable.
website: Option<Option<Url>>
Nullable.
version: u16
Implementations§
Source§impl CreateAuthor
impl CreateAuthor
fn default_version() -> u16
Source§impl CreateAuthor
impl CreateAuthor
Sourcepub async fn send(&self) -> Result<Limited<AuthorData>>
pub async fn send(&self) -> Result<Limited<AuthorData>>
Send the request.
Trait Implementations§
Source§impl Clone for CreateAuthor
impl Clone for CreateAuthor
Source§fn clone(&self) -> CreateAuthor
fn clone(&self) -> CreateAuthor
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 moreSource§impl Debug for CreateAuthor
impl Debug for CreateAuthor
Auto Trait Implementations§
impl Freeze for CreateAuthor
impl !RefUnwindSafe for CreateAuthor
impl !Send for CreateAuthor
impl !Sync for CreateAuthor
impl Unpin for CreateAuthor
impl !UnwindSafe for CreateAuthor
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