pub struct GetBudgetQuery {
pub endpoint: String,
pub method: String,
pub workspace_id: Option<String>,
pub service_name: Option<String>,
pub tags: Option<String>,
}Expand description
Get budget for a specific endpoint/workspace/service
GET /api/v1/drift/budgets/lookup?endpoint=/api/users&method=GET&workspace_id=…
Fields§
§endpoint: StringEndpoint path
method: StringHTTP method
workspace_id: Option<String>Optional workspace ID
service_name: Option<String>Optional service name
Optional comma-separated tags
Trait Implementations§
Source§impl Debug for GetBudgetQuery
impl Debug for GetBudgetQuery
Source§impl<'de> Deserialize<'de> for GetBudgetQuery
impl<'de> Deserialize<'de> for GetBudgetQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetBudgetQuery
impl RefUnwindSafe for GetBudgetQuery
impl Send for GetBudgetQuery
impl Sync for GetBudgetQuery
impl Unpin for GetBudgetQuery
impl UnsafeUnpin for GetBudgetQuery
impl UnwindSafe for GetBudgetQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more