pub struct ApiEndpoint {
pub url: String,
pub variables: Option<HashMap<String, Value>>,
pub features: Option<HashMap<String, bool>>,
pub field_toggles: Option<HashMap<String, bool>>,
}Fields§
§url: String§variables: Option<HashMap<String, Value>>§features: Option<HashMap<String, bool>>§field_toggles: Option<HashMap<String, bool>>Implementations§
Source§impl ApiEndpoint
impl ApiEndpoint
pub fn to_request_url(&self) -> String
Trait Implementations§
Source§impl Clone for ApiEndpoint
impl Clone for ApiEndpoint
Source§fn clone(&self) -> ApiEndpoint
fn clone(&self) -> ApiEndpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ApiEndpoint
impl RefUnwindSafe for ApiEndpoint
impl Send for ApiEndpoint
impl Sync for ApiEndpoint
impl Unpin for ApiEndpoint
impl UnwindSafe for ApiEndpoint
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