Struct dropbox_sdk::check::EchoResult
source · [−]#[non_exhaustive]pub struct EchoResult {
pub result: String,
}Available on crate feature
dbx_check only.Expand description
EchoResult contains the result returned from the Dropbox servers.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.result: StringIf everything worked correctly, this would be the same as query.
Implementations
sourceimpl EchoResult
impl EchoResult
pub fn with_result(self, value: String) -> Self
Trait Implementations
sourceimpl Clone for EchoResult
impl Clone for EchoResult
sourcefn clone(&self) -> EchoResult
fn clone(&self) -> EchoResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for EchoResult
impl Debug for EchoResult
sourceimpl Default for EchoResult
impl Default for EchoResult
sourcefn default() -> EchoResult
fn default() -> EchoResult
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EchoResult
impl<'de> Deserialize<'de> for EchoResult
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<EchoResult> for EchoResult
impl PartialEq<EchoResult> for EchoResult
sourcefn eq(&self, other: &EchoResult) -> bool
fn eq(&self, other: &EchoResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EchoResult) -> bool
fn ne(&self, other: &EchoResult) -> bool
This method tests for !=.
sourceimpl Serialize for EchoResult
impl Serialize for EchoResult
impl Eq for EchoResult
impl StructuralEq for EchoResult
impl StructuralPartialEq for EchoResult
Auto Trait Implementations
impl RefUnwindSafe for EchoResult
impl Send for EchoResult
impl Sync for EchoResult
impl Unpin for EchoResult
impl UnwindSafe for EchoResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more