From e2a1944a62a8535f3b9deed6f37eb857e6965f1a Mon Sep 17 00:00:00 2001 From: Eline Jorritsma Date: Mon, 27 Nov 2023 15:12:00 +0100 Subject: [PATCH] Cleanup mod.rs --- src/models/mod.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/models/mod.rs b/src/models/mod.rs index e4d58cc..8fd7ba9 100644 --- a/src/models/mod.rs +++ b/src/models/mod.rs @@ -1,12 +1,6 @@ /// The request module contains the request object /// which is used to send requests to the server pub trait Request { - // /// Creates a new request object - // /// # Returns - // /// A new request object - // /// [Request](trait.Request.html) - // fn new() -> Self; - /// Gets the query parameters for the request /// # Arguments /// * `self` - The request object @@ -14,13 +8,6 @@ pub trait Request { /// The query parameters for the request fn get_query_parameters(&self) -> String; - // /// Validate the request - // /// Returns an error if the request is invalid - // /// Returns Ok(()) if the request is valid - // /// This method is called before the request is sent - // /// to the server - // fn validate(&self) -> Result<(), String>; - /// Build the URL for the request /// # Arguments /// * `self` - The request object