pub struct GetAccountInfo {
pub access_token: String,
pub fields: Fields,
}Expand description
Use this method to get information about a Telegraph account. Returns an Account object on success.
-
access_token (String) Required. Access token of the Telegraph account.
-
fields (Array of String, default = [“short_name”,“author_name”,“author_url”]) List of account fields to return. Available fields: short_name, author_name, author_url, auth_url, page_count.
Fields§
§access_token: String§fields: FieldsImplementations§
Auto Trait Implementations§
impl Freeze for GetAccountInfo
impl RefUnwindSafe for GetAccountInfo
impl Send for GetAccountInfo
impl Sync for GetAccountInfo
impl Unpin for GetAccountInfo
impl UnsafeUnpin for GetAccountInfo
impl UnwindSafe for GetAccountInfo
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