Struct elastic::client::requests::endpoints::GetSourceRequest
[−]
pub struct GetSourceRequest<'a> { pub url: Url<'a>, }
Fields
url: Url<'a>
Methods
impl<'a> GetSourceRequest<'a>
fn for_index_ty_id<IIndex, IType, IId>(
index: IIndex,
ty: IType,
id: IId
) -> GetSourceRequest<'a> where
IId: Into<Id<'a>>,
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
index: IIndex,
ty: IType,
id: IId
) -> GetSourceRequest<'a> where
IId: Into<Id<'a>>,
IIndex: Into<Index<'a>>,
IType: Into<Type<'a>>,
Trait Implementations
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetSourceRequest<'a>
fn into(self) -> HttpRequest<'a, &'static [u8]>
Performs the conversion.
impl<'a> PartialEq<GetSourceRequest<'a>> for GetSourceRequest<'a>
fn eq(&self, __arg_0: &GetSourceRequest<'a>) -> bool
fn ne(&self, __arg_0: &GetSourceRequest<'a>) -> bool
impl<'a> Debug for GetSourceRequest<'a>
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.