[−][src]Struct simple_azure_monitor_data_collector::Records
Wraps a JSON value. The JSON value should contain an array of JSON objects, which represent the individual records being sent to the Data Collector API.
The records in this struct will be sent in a single request to the service. The number of records in this stuct should be limited such that the request's size will not exceed the limits imposed by the service.
Methods
impl Records
[src]
pub fn new(
log_type: String,
records: Value,
azure_resource_id: Option<String>,
time_generated_field: Option<String>
) -> Result<Self, NewRecordsError>
[src]
log_type: String,
records: Value,
azure_resource_id: Option<String>,
time_generated_field: Option<String>
) -> Result<Self, NewRecordsError>
Construct a new Records
struct.
Trait Implementations
impl Clone for Records
[src]
impl PartialEq<Records> for Records
[src]
impl Debug for Records
[src]
impl StructuralPartialEq for Records
[src]
Auto Trait Implementations
impl Send for Records
impl Sync for Records
impl Unpin for Records
impl UnwindSafe for Records
impl RefUnwindSafe for Records
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self