Struct aws_sdk_datasync::types::HdfsNameNode
source · #[non_exhaustive]pub struct HdfsNameNode {
pub hostname: Option<String>,
pub port: Option<i32>,
}
Expand description
The NameNode of the Hadoop Distributed File System (HDFS). The NameNode manages the file system's namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.hostname: Option<String>
The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.
port: Option<i32>
The port that the NameNode uses to listen to client requests.
Implementations§
source§impl HdfsNameNode
impl HdfsNameNode
source§impl HdfsNameNode
impl HdfsNameNode
sourcepub fn builder() -> HdfsNameNodeBuilder
pub fn builder() -> HdfsNameNodeBuilder
Creates a new builder-style object to manufacture HdfsNameNode
.
Trait Implementations§
source§impl Clone for HdfsNameNode
impl Clone for HdfsNameNode
source§fn clone(&self) -> HdfsNameNode
fn clone(&self) -> HdfsNameNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HdfsNameNode
impl Debug for HdfsNameNode
source§impl PartialEq<HdfsNameNode> for HdfsNameNode
impl PartialEq<HdfsNameNode> for HdfsNameNode
source§fn eq(&self, other: &HdfsNameNode) -> bool
fn eq(&self, other: &HdfsNameNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HdfsNameNode
Auto Trait Implementations§
impl RefUnwindSafe for HdfsNameNode
impl Send for HdfsNameNode
impl Sync for HdfsNameNode
impl Unpin for HdfsNameNode
impl UnwindSafe for HdfsNameNode
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