Skip to content

Commit e2a1944

Browse files
author
Eline Jorritsma
committed
Cleanup mod.rs
1 parent 63af813 commit e2a1944

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/models/mod.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
11
/// The request module contains the request object
22
/// which is used to send requests to the server
33
pub trait Request {
4-
// /// Creates a new request object
5-
// /// # Returns
6-
// /// A new request object
7-
// /// [Request](trait.Request.html)
8-
// fn new() -> Self;
9-
104
/// Gets the query parameters for the request
115
/// # Arguments
126
/// * `self` - The request object
137
/// # Returns
148
/// The query parameters for the request
159
fn get_query_parameters(&self) -> String;
1610

17-
// /// Validate the request
18-
// /// Returns an error if the request is invalid
19-
// /// Returns Ok(()) if the request is valid
20-
// /// This method is called before the request is sent
21-
// /// to the server
22-
// fn validate(&self) -> Result<(), String>;
23-
2411
/// Build the URL for the request
2512
/// # Arguments
2613
/// * `self` - The request object

0 commit comments

Comments
 (0)