pub struct CosmosDBResponse {
pub status: u16,
pub etag: Option<String>,
pub body: String,
}Expand description
Response from a CosmosDB REST call.
Fields§
§status: u16§etag: Option<String>§body: StringImplementations§
Source§impl CosmosDBResponse
impl CosmosDBResponse
pub fn is_success(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CosmosDBResponse
impl RefUnwindSafe for CosmosDBResponse
impl Send for CosmosDBResponse
impl Sync for CosmosDBResponse
impl Unpin for CosmosDBResponse
impl UnsafeUnpin for CosmosDBResponse
impl UnwindSafe for CosmosDBResponse
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