Rust
Contents
Install
Example - Upload Multiple Files to ShdwDrive Using Rust
Methods
add_immutable_storage
add_immutable_storageDefinition
Parameters
Example of add_immutable_storage
add_immutable_storageResponse from add_immutable_storage
add_immutable_storageadd_storage
add_storageDefinition
Parameters
Example of add_storage
add_storageResponse from add_storage
add_storagecancel_delete_storage_account
cancel_delete_storage_accountDefinition
Parameters
Example of cancel_delete_storage_account
cancel_delete_storage_accountResponse from cancel_delete_storage_account
cancel_delete_storage_accountclaim_stake
claim_stakeDefinition
Parameters
Example of claim_stake
claim_stakeResponse from claim_stake
claim_stakecreate_storage_account
create_storage_accountDefinition
Parameters
Example of create_storage_account
create_storage_accountResponse from create_storage_account
create_storage_accountdelete_file
delete_fileDefinition
Parameters
Example of delete_file
delete_filedelete_storage_account
delete_storage_accountDefinition
Parameters
Response from delete_storage_account
delete_storage_accountExample of delete_storage_account
delete_storage_accountedit_file
edit_fileDefinition
Parameters
Example of edit_file
edit_fileResponse from edit_file
edit_fileget_object_data
get_object_dataget_storage_account
get_storage_accountDefinition
Parameters
Example of get_storage_account
get_storage_accountResponse for V1 StorageAccount from get_storage_account
get_storage_accountResponse for V2 StorageAccount from get_storage_account
get_storage_accountget_storage_accounts
get_storage_accountsDefinition
Parameters
Example of get_storage_accounts
get_storage_accountsResponse for V1 StorageAccount from get_storage_accounts
get_storage_accountsResponse for V2 StorageAccount from get_storage_accounts
get_storage_accountsget_storage_account_size
get_storage_account_sizeDefinition
Parameters
Example of get_storage_account_size
get_storage_account_sizeResponse from get_storage_account_size
get_storage_account_sizelist_objects
list_objectsDefinition
Parameters
Example of list_objects
list_objectsResponse from list_objects
list_objectsmake_storage_immutable
make_storage_immutableDefinition
Parameters
Example of make_storage_immutable
make_storage_immutableResponse from make_storage_immutable
make_storage_immutablemigrate
migrateDefinition
Parameters
Example of migrate
migrateResponse from migrate
migratemigrate_step_1
migrate_step_1Definition
migrate_step_2
migrate_step_2Definition
new
newDefinition
Parameters
Example of new
newnew_with_rpc
new_with_rpcDefinition
Parameters
Example of new_with_rpc
new_with_rpcredeem_rent
redeem_rentDefinition
Parameters
Example of redeem_rent
redeem_rentResponse from redeem_rent
redeem_rentreduce_storage
reduce_storageDefinition
Parameters
Example of reduce_storage
reduce_storageResponse from reduce_storage
reduce_storagerefresh_stake
refresh_stakeDefinition
Parameters
Example of refresh_stake
refresh_stakeResponse from refresh_stake
refresh_stakestore_files
store_filesDefinition
Parameters
Example of store_files
store_filesResponse from store_files
store_filestop_up
top_upDefinition
Parameters
Example of top_up
top_upResponse from top_up
top_upExample - ShdwDrive Client: Creating and Managing Storage Accounts using Rust
Example - Cancel Storage Account Deletion using rust
Example - Claim Stake using rust
Example - Uploading and Deleting Files with rust SDK
Example - Delete Storage Account using rust
Example - Tests
Example - Creating and Migrating a Storage Account using ShadowDriveClient in Rust
Example - Redeem Rent for Storage using Rust
Example - Uploading Multiple Files to a storage account in rust
Last updated