[][src]Struct simple_azure_monitor_data_collector::Records

pub struct Records { /* fields omitted */ }

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]

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]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self