RemoteServerEntity

Struct RemoteServerEntity 

Source
pub struct RemoteServerEntity {
Show 55 fields pub id: Option<i64>, pub server_type: Option<String>, pub name: Option<String>, pub authentication_method: Option<String>, pub hostname: Option<String>, pub port: Option<i64>, pub username: Option<String>, pub remote_home_path: Option<String>, pub ssl: Option<String>, pub max_connections: Option<i64>, pub pin_to_site_region: Option<bool>, pub pinned_region: Option<String>, pub s3_bucket: Option<String>, pub s3_region: Option<String>, pub aws_access_key: Option<String>, pub server_host_key: Option<String>, pub server_certificate: Option<String>, pub azure_blob_storage_account: Option<String>, pub azure_blob_storage_container: Option<String>, pub azure_blob_storage_dns_suffix: Option<String>, pub azure_blob_storage_hierarchical_namespace: Option<bool>, pub azure_files_storage_account: Option<String>, pub azure_files_storage_share_name: Option<String>, pub azure_files_storage_dns_suffix: Option<String>, pub backblaze_b2_bucket: Option<String>, pub backblaze_b2_s3_endpoint: Option<String>, pub wasabi_bucket: Option<String>, pub wasabi_region: Option<String>, pub wasabi_access_key: Option<String>, pub google_cloud_storage_bucket: Option<String>, pub google_cloud_storage_project_id: Option<String>, pub s3_compatible_access_key: Option<String>, pub s3_compatible_bucket: Option<String>, pub s3_compatible_endpoint: Option<String>, pub s3_compatible_region: Option<String>, pub files_agent_api_token: Option<String>, pub files_agent_root: Option<String>, pub files_agent_permission_set: Option<String>, pub files_agent_version: Option<String>, pub filebase_bucket: Option<String>, pub filebase_access_key: Option<String>, pub cloudflare_bucket: Option<String>, pub cloudflare_access_key: Option<String>, pub cloudflare_endpoint: Option<String>, pub dropbox_teams: Option<bool>, pub linode_bucket: Option<String>, pub linode_access_key: Option<String>, pub linode_region: Option<String>, pub one_drive_account_type: Option<String>, pub disabled: Option<bool>, pub supports_versioning: Option<bool>, pub enable_dedicated_ips: Option<bool>, pub auth_account_name: Option<String>, pub auth_status: Option<String>, pub google_cloud_storage_s3_compatible_access_key: Option<String>,
}
Expand description

A Remote Server entity

Fields§

§id: Option<i64>

Remote server ID

§server_type: Option<String>

Server type (e.g., s3, azure, ftp, sftp)

§name: Option<String>

Server name

§authentication_method: Option<String>

Authentication method

§hostname: Option<String>

Hostname (for FTP/SFTP)

§port: Option<i64>

Port (for FTP/SFTP)

§username: Option<String>

Username

§remote_home_path: Option<String>

Remote home path

§ssl: Option<String>

Use SSL

§max_connections: Option<i64>

Max connections

§pin_to_site_region: Option<bool>

Pin to site region

§pinned_region: Option<String>

Pinned region

§s3_bucket: Option<String>

S3 bucket name

§s3_region: Option<String>

S3 region

§aws_access_key: Option<String>

AWS access key

§server_host_key: Option<String>

Server host key (SSH)

§server_certificate: Option<String>

Server certificate

§azure_blob_storage_account: Option<String>

Azure Blob storage account

§azure_blob_storage_container: Option<String>

Azure Blob storage container

§azure_blob_storage_dns_suffix: Option<String>

Azure Blob storage DNS suffix

§azure_blob_storage_hierarchical_namespace: Option<bool>

Azure Blob hierarchical namespace

§azure_files_storage_account: Option<String>

Azure Files storage account

§azure_files_storage_share_name: Option<String>

Azure Files storage share name

§azure_files_storage_dns_suffix: Option<String>

Azure Files storage DNS suffix

§backblaze_b2_bucket: Option<String>

Backblaze B2 bucket

§backblaze_b2_s3_endpoint: Option<String>

Backblaze B2 S3 endpoint

§wasabi_bucket: Option<String>

Wasabi bucket

§wasabi_region: Option<String>

Wasabi region

§wasabi_access_key: Option<String>

Wasabi access key

§google_cloud_storage_bucket: Option<String>

Google Cloud Storage bucket

§google_cloud_storage_project_id: Option<String>

Google Cloud Storage project ID

§s3_compatible_access_key: Option<String>

S3-compatible access key

§s3_compatible_bucket: Option<String>

S3-compatible bucket

§s3_compatible_endpoint: Option<String>

S3-compatible endpoint

§s3_compatible_region: Option<String>

S3-compatible region

§files_agent_api_token: Option<String>

Files Agent API token

§files_agent_root: Option<String>

Files Agent root

§files_agent_permission_set: Option<String>

Files Agent permission set

§files_agent_version: Option<String>

Files Agent version

§filebase_bucket: Option<String>

Filebase bucket

§filebase_access_key: Option<String>

Filebase access key

§cloudflare_bucket: Option<String>

Cloudflare bucket

§cloudflare_access_key: Option<String>

Cloudflare access key

§cloudflare_endpoint: Option<String>

Cloudflare endpoint

§dropbox_teams: Option<bool>

Dropbox teams

§linode_bucket: Option<String>

Linode bucket

§linode_access_key: Option<String>

Linode access key

§linode_region: Option<String>

Linode region

§one_drive_account_type: Option<String>

OneDrive account type

§disabled: Option<bool>

Server disabled

§supports_versioning: Option<bool>

Supports versioning

§enable_dedicated_ips: Option<bool>

Enable dedicated IPs

§auth_account_name: Option<String>

Auth account name

§auth_status: Option<String>

Auth status

§google_cloud_storage_s3_compatible_access_key: Option<String>

Google Cloud Storage S3-compatible access key

Trait Implementations§

Source§

impl Clone for RemoteServerEntity

Source§

fn clone(&self) -> RemoteServerEntity

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RemoteServerEntity

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for RemoteServerEntity

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for RemoteServerEntity

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,