Struct azure_devops_rust_api::audit::models::AuditStream
source · pub struct AuditStream {
pub consumer_inputs: Option<Value>,
pub consumer_type: Option<String>,
pub created_time: Option<OffsetDateTime>,
pub display_name: Option<String>,
pub id: Option<i32>,
pub status: Option<Status>,
pub status_reason: Option<String>,
pub updated_time: Option<OffsetDateTime>,
}Expand description
This class represents an audit stream
Fields§
§consumer_inputs: Option<Value>Inputs used to communicate with external service. Inputs could be url, a connection string, a token, etc.
consumer_type: Option<String>Type of the consumer, i.e. splunk, azureEventHub, etc.
created_time: Option<OffsetDateTime>The time when the stream was created
display_name: Option<String>Used to identify individual streams
id: Option<i32>Unique stream identifier
status: Option<Status>Status of the stream, Enabled, Disabled
status_reason: Option<String>Reason for the current stream status, i.e. Disabled by the system, Invalid credentials, etc.
updated_time: Option<OffsetDateTime>The time when the stream was last updated
Implementations§
source§impl AuditStream
impl AuditStream
Trait Implementations§
source§impl Clone for AuditStream
impl Clone for AuditStream
source§fn clone(&self) -> AuditStream
fn clone(&self) -> AuditStream
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 AuditStream
impl Debug for AuditStream
source§impl Default for AuditStream
impl Default for AuditStream
source§fn default() -> AuditStream
fn default() -> AuditStream
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuditStream
impl<'de> Deserialize<'de> for AuditStream
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 AuditStream
impl PartialEq for AuditStream
source§fn eq(&self, other: &AuditStream) -> bool
fn eq(&self, other: &AuditStream) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AuditStream
impl Serialize for AuditStream
impl StructuralPartialEq for AuditStream
Auto Trait Implementations§
impl Freeze for AuditStream
impl RefUnwindSafe for AuditStream
impl Send for AuditStream
impl Sync for AuditStream
impl Unpin for AuditStream
impl UnwindSafe for AuditStream
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