pub struct PublicUserInfo {
pub user_id: UserID,
pub username: Option<String>,
pub note_store_url: Option<String>,
pub web_api_url_prefix: Option<String>,
pub service_level: Option<ServiceLevel>,
}Expand description
This structure is used to provide publicly-available user information about a particular account.
- userId:
- The unique numeric user identifier for the user account.
- serviceLevel:
- The service level of the account.
- noteStoreUrl:
- This field will contain the full URL that clients should use to make NoteStore requests to the server shard that contains that user's data. I.e. this is the URL that should be used to create the Thrift HTTP client transport to send messages to the NoteStore service for the account.
- webApiUrlPrefix:
- This field will contain the initial part of the URLs that should be used to make requests to Evernote's thin client "web API", which provide optimized operations for clients that aren't capable of manipulating the full contents of accounts via the full Thrift data model. Clients should concatenate the relative path for the various servlets onto the end of this string to construct the full URL, as documented on our developer web site.
Fields§
§user_id: UserID§username: Option<String>§note_store_url: Option<String>§web_api_url_prefix: Option<String>§service_level: Option<ServiceLevel>Implementations§
Trait Implementations§
Source§impl Clone for PublicUserInfo
impl Clone for PublicUserInfo
Source§fn clone(&self) -> PublicUserInfo
fn clone(&self) -> PublicUserInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicUserInfo
impl Debug for PublicUserInfo
impl Eq for PublicUserInfo
Source§impl Hash for PublicUserInfo
impl Hash for PublicUserInfo
Source§impl Ord for PublicUserInfo
impl Ord for PublicUserInfo
Source§fn cmp(&self, other: &PublicUserInfo) -> Ordering
fn cmp(&self, other: &PublicUserInfo) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PublicUserInfo
impl PartialEq for PublicUserInfo
Source§impl PartialOrd for PublicUserInfo
impl PartialOrd for PublicUserInfo
impl StructuralPartialEq for PublicUserInfo
Source§impl TSerializable for PublicUserInfo
impl TSerializable for PublicUserInfo
fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<PublicUserInfo>
fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> Result<()>
Auto Trait Implementations§
impl Freeze for PublicUserInfo
impl RefUnwindSafe for PublicUserInfo
impl Send for PublicUserInfo
impl Sync for PublicUserInfo
impl Unpin for PublicUserInfo
impl UnsafeUnpin for PublicUserInfo
impl UnwindSafe for PublicUserInfo
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