Struct azure_devops_rust_api::wiki::models::WikiAttachmentResponse
source · pub struct WikiAttachmentResponse {
pub attachment: Option<WikiAttachment>,
pub e_tag: Vec<String>,
}
Expand description
Response contract for the Wiki Attachments API
Fields§
§attachment: Option<WikiAttachment>
Defines properties for wiki attachment file.
e_tag: Vec<String>
Contains the list of ETag values from the response header of the attachments API call. The first item in the list contains the version of the wiki attachment.
Implementations§
Trait Implementations§
source§impl Clone for WikiAttachmentResponse
impl Clone for WikiAttachmentResponse
source§fn clone(&self) -> WikiAttachmentResponse
fn clone(&self) -> WikiAttachmentResponse
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 WikiAttachmentResponse
impl Debug for WikiAttachmentResponse
source§impl Default for WikiAttachmentResponse
impl Default for WikiAttachmentResponse
source§fn default() -> WikiAttachmentResponse
fn default() -> WikiAttachmentResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WikiAttachmentResponse
impl<'de> Deserialize<'de> for WikiAttachmentResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for WikiAttachmentResponse
impl PartialEq for WikiAttachmentResponse
source§fn eq(&self, other: &WikiAttachmentResponse) -> bool
fn eq(&self, other: &WikiAttachmentResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WikiAttachmentResponse
impl Serialize for WikiAttachmentResponse
impl StructuralPartialEq for WikiAttachmentResponse
Auto Trait Implementations§
impl Freeze for WikiAttachmentResponse
impl RefUnwindSafe for WikiAttachmentResponse
impl Send for WikiAttachmentResponse
impl Sync for WikiAttachmentResponse
impl Unpin for WikiAttachmentResponse
impl UnwindSafe for WikiAttachmentResponse
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