Struct elastic_requests::endpoints::SnapshotCreateRepositoryRequest [] [src]

pub struct SnapshotCreateRepositoryRequest<'a, B> {
    pub url: Url<'a>,
    pub body: B,
}

Post: /_snapshot/{repository}

Elasticsearch Documentation

Fields

Methods

impl<'a, B> SnapshotCreateRepositoryRequest<'a, B>
[src]

[src]

Request to: /_snapshot/{repository}

Trait Implementations

impl<'a, B: Debug> Debug for SnapshotCreateRepositoryRequest<'a, B>
[src]

[src]

Formats the value using the given formatter.

impl<'a, B: PartialEq> PartialEq for SnapshotCreateRepositoryRequest<'a, B>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a, B: Clone> Clone for SnapshotCreateRepositoryRequest<'a, B>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotCreateRepositoryRequest<'a, B>
[src]

[src]

Performs the conversion.