pub struct CloudLocation {
pub scheme: &'static str,
pub bucket: PlSmallStr,
pub prefix: String,
pub expansion: Option<PlSmallStr>,
}Available on crate feature
polars-io only.Expand description
A location on cloud storage, may have wildcards.
Fields§
§scheme: &'static strThe scheme (s3, …).
bucket: PlSmallStrThe bucket name.
prefix: StringThe prefix inside the bucket, this will be the full key when wildcards are not used.
expansion: Option<PlSmallStr>The path components that need to be expanded.
Implementations§
Source§impl CloudLocation
impl CloudLocation
pub fn new( path: PlPathRef<'_>, glob: bool, ) -> Result<CloudLocation, PolarsError>
Trait Implementations§
Source§impl Debug for CloudLocation
impl Debug for CloudLocation
Source§impl Default for CloudLocation
impl Default for CloudLocation
Source§fn default() -> CloudLocation
fn default() -> CloudLocation
Returns the “default value” for a type. Read more
Source§impl PartialEq for CloudLocation
impl PartialEq for CloudLocation
impl StructuralPartialEq for CloudLocation
Auto Trait Implementations§
impl Freeze for CloudLocation
impl RefUnwindSafe for CloudLocation
impl Send for CloudLocation
impl Sync for CloudLocation
impl Unpin for CloudLocation
impl UnwindSafe for CloudLocation
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more