pub struct EasyClient {
pub client: Client,
}
Expand description
A client
Fields§
§client: Client
The low-level api client
Implementations§
Source§impl Client
impl Client
Sourcepub fn get_attributes(
&self,
builder: GetAttributesBuilder,
) -> impl Future<Output = Result<GetAttributesResponse, Error>>
pub fn get_attributes( &self, builder: GetAttributesBuilder, ) -> impl Future<Output = Result<GetAttributesResponse, Error>>
Get attributes for a file.
Sourcepub async fn fetch_nodes(
&self,
node_id: Option<&str>,
recursive: bool,
) -> Result<FetchNodesResponse, Error>
pub async fn fetch_nodes( &self, node_id: Option<&str>, recursive: bool, ) -> Result<FetchNodesResponse, Error>
Get the nodes for a folder node.
This bypasses the command buffering system as it is more efficient for Mega’s servers to process this alone.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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