Struct azure_devops_rust_api::artifacts::models::SessionRequest
source · pub struct SessionRequest {
pub data: Option<Value>,
pub feed: Option<String>,
pub source: Option<String>,
}
Expand description
Fields§
§data: Option<Value>
Generic property bag to store data about the session
feed: Option<String>
The feed name or id for the session
source: Option<String>
The type of session If a known value is provided, the Data dictionary will be validated for the presence of properties required by that type
Implementations§
Trait Implementations§
source§impl Clone for SessionRequest
impl Clone for SessionRequest
source§fn clone(&self) -> SessionRequest
fn clone(&self) -> SessionRequest
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 SessionRequest
impl Debug for SessionRequest
source§impl Default for SessionRequest
impl Default for SessionRequest
source§fn default() -> SessionRequest
fn default() -> SessionRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SessionRequest
impl<'de> Deserialize<'de> for SessionRequest
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 SessionRequest
impl PartialEq for SessionRequest
source§fn eq(&self, other: &SessionRequest) -> bool
fn eq(&self, other: &SessionRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SessionRequest
impl Serialize for SessionRequest
impl StructuralPartialEq for SessionRequest
Auto Trait Implementations§
impl RefUnwindSafe for SessionRequest
impl Send for SessionRequest
impl Sync for SessionRequest
impl Unpin for SessionRequest
impl UnwindSafe for SessionRequest
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