Skip to content

Commit

Permalink
Cleanup mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Eline Jorritsma committed Nov 28, 2023
1 parent 63af813 commit e2a1944
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/models/mod.rs
Original file line number Diff line number Diff line change
@@ -1,26 +1,13 @@
/// 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
/// # Returns
/// 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
Expand Down

0 comments on commit e2a1944

Please sign in to comment.