pub struct UserSftpClientUseHandler { /* private fields */ }Expand description
Handler for User SFTP Client Use operations
Implementations§
Source§impl UserSftpClientUseHandler
impl UserSftpClientUseHandler
Sourcepub fn new(client: FilesClient) -> Self
pub fn new(client: FilesClient) -> Self
Creates a new UserSftpClientUseHandler
§Example
let client = FilesClient::builder().api_key("key").build().unwrap();
let handler = UserSftpClientUseHandler::new(client);Sourcepub async fn list(
&self,
user_id: Option<i64>,
cursor: Option<String>,
per_page: Option<i32>,
) -> Result<(Vec<UserSftpClientUseEntity>, PaginationInfo)>
pub async fn list( &self, user_id: Option<i64>, cursor: Option<String>, per_page: Option<i32>, ) -> Result<(Vec<UserSftpClientUseEntity>, PaginationInfo)>
List User SFTP Client Uses
§Arguments
user_id- Optional user ID to filter bycursor- Pagination cursorper_page- Number of records per page
§Example
let client = FilesClient::builder().api_key("key").build()?;
let handler = UserSftpClientUseHandler::new(client);
let (uses, pagination) = handler.list(None, None, Some(100)).await?;Auto Trait Implementations§
impl !RefUnwindSafe for UserSftpClientUseHandler
impl !UnwindSafe for UserSftpClientUseHandler
impl Freeze for UserSftpClientUseHandler
impl Send for UserSftpClientUseHandler
impl Sync for UserSftpClientUseHandler
impl Unpin for UserSftpClientUseHandler
impl UnsafeUnpin for UserSftpClientUseHandler
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