Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardTibben committed Apr 12, 2024
1 parent 580bff7 commit ad26355
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions stellar_rust_sdk/src/operations/operations_for_account_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,50 +33,6 @@ impl OperationsForAccountRequest {
OperationsForAccountRequest::default()
}

// /// Sets the cursor for pagination.
// ///
// /// # Arguments
// /// * `cursor` - A `u32` value pointing to a specific location in a collection of responses.
// ///
// pub fn set_cursor(self, cursor: u32) -> Result<OperationsForAccountRequest, String> {
// if cursor < 1 {
// return Err("cursor must be greater than or equal to 1".to_string());
// }

// Ok(OperationsForAccountRequest {
// cursor: Some(cursor),
// ..self
// })
// }

// /// Sets the maximum number of records to return.
// ///
// /// # Arguments
// /// * `limit` - A `u8` value specifying the maximum number of records. Range: 1 to 200. Defaults to 10.
// ///
// pub fn set_limit(self, limit: u8) -> Result<OperationsForAccountRequest, String> {
// if limit < 1 || limit > 200 {
// return Err("limit must be between 1 and 200".to_string());
// }

// Ok(OperationsForAccountRequest {
// limit: Some(limit),
// ..self
// })
// }

// /// Sets the order of the returned records.
// ///
// /// # Arguments
// /// * `order` - An [`Order`] enum value specifying the order (ascending or descending).
// ///
// pub fn set_order(self, order: Order) -> OperationsForAccountRequest {
// OperationsForAccountRequest {
// order: Some(order),
// ..self
// }
// }

/// Sets whether to include failed operations in the response.
///
/// # Arguments
Expand Down

0 comments on commit ad26355

Please sign in to comment.