Struct heroku_rs::endpoints::logs::get::LogDrainDetails [−][src]
Expand description
Log Drain Info
Info for existing log drain.
See Heroku documentation for more information about this endpoint
Example:
LogDrainDetails takes two required parameters, app_id and drain_id, and returns the LogDrain
.
use heroku_rs::prelude::*; let response = api_client.request(&LogDrainDetails::new("APP_ID", "DRAIN_ID")); match response { Ok(success) => println!("Success: {:#?}", success), Err(e) => println!("Error: {}", e), }
See how to create the Heroku api_client
.
Fields
app_id: &'a str
unique app identifier, either app name, or app id
drain_id: &'a str
unique log drain identifier, either drain id, url or token
Implementations
impl<'a> LogDrainDetails<'a>
[src]
impl<'a> LogDrainDetails<'a>
[src]pub fn new(app_id: &'a str, drain_id: &'a str) -> LogDrainDetails<'a>
[src]
Trait Implementations
impl<'a> HerokuEndpoint<LogDrain, (), ()> for LogDrainDetails<'a>
[src]
impl<'a> HerokuEndpoint<LogDrain, (), ()> for LogDrainDetails<'a>
[src]Auto Trait Implementations
impl<'a> RefUnwindSafe for LogDrainDetails<'a>
impl<'a> Send for LogDrainDetails<'a>
impl<'a> Sync for LogDrainDetails<'a>
impl<'a> Unpin for LogDrainDetails<'a>
impl<'a> UnwindSafe for LogDrainDetails<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]