pub struct UpdateAuthor {Show 17 fields
pub author_id: Uuid,
pub name: Option<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: u32,
/* private fields */
}
Fields§
§name: Option<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: u32
= 1
Implementations§
Source§impl UpdateAuthor
impl UpdateAuthor
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 UpdateAuthor
impl Clone for UpdateAuthor
Source§fn clone(&self) -> UpdateAuthor
fn clone(&self) -> UpdateAuthor
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 UpdateAuthor
impl Debug for UpdateAuthor
Auto Trait Implementations§
impl Freeze for UpdateAuthor
impl !RefUnwindSafe for UpdateAuthor
impl !Send for UpdateAuthor
impl !Sync for UpdateAuthor
impl Unpin for UpdateAuthor
impl !UnwindSafe for UpdateAuthor
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