pub struct EasyGetAttributesBuilder {
pub public_node_id: Option<String>,
pub node_id: Option<String>,
pub include_download_url: bool,
pub reference_node_id: Option<String>,
}
Expand description
A builder for a get_attributes call.
Fields§
§public_node_id: Option<String>
The public id of the node.
Mutually exclusive with node_id
.
node_id: Option<String>
The node id.
Mutually exclusive with public_file_id
.
include_download_url: bool
Whether this should include the download url
reference_node_id: Option<String>
The reference node id.
Implementations§
Source§impl GetAttributesBuilder
impl GetAttributesBuilder
Sourcepub fn public_node_id(&mut self, value: impl Into<String>) -> &mut Self
pub fn public_node_id(&mut self, value: impl Into<String>) -> &mut Self
Set the public file id.
Mutually exclusive with node_id
.
Sourcepub fn node_id(&mut self, value: impl Into<String>) -> &mut Self
pub fn node_id(&mut self, value: impl Into<String>) -> &mut Self
Set the node id.
Mutually exclusive with public_node_id
.
Sourcepub fn include_download_url(&mut self, value: bool) -> &mut Self
pub fn include_download_url(&mut self, value: bool) -> &mut Self
Set the include_download_url field.
Sourcepub fn reference_node_id(&mut self, value: impl Into<String>) -> &mut Self
pub fn reference_node_id(&mut self, value: impl Into<String>) -> &mut Self
Set the reference node id.
Trait Implementations§
Source§impl Debug for GetAttributesBuilder
impl Debug for GetAttributesBuilder
Auto Trait Implementations§
impl Freeze for GetAttributesBuilder
impl RefUnwindSafe for GetAttributesBuilder
impl Send for GetAttributesBuilder
impl Sync for GetAttributesBuilder
impl Unpin for GetAttributesBuilder
impl UnwindSafe for GetAttributesBuilder
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