pub enum UploadDestination {
Gcs {
bucket: String,
prefix: String,
key_ref: String,
},
FalStorage {
key_ref: String,
endpoint: Option<String>,
},
}Expand description
One typed sink the operator’s manifest declares as a permitted upload
destination. The agent can pick from these keys via --destination <key>;
anything else is refused with a typed error.
Variants§
Gcs
Google Cloud Storage bucket. Object goes to <bucket>/<prefix>/<date>/<uuid>-<filename>.
key_ref names a keyring key holding the GCP service account JSON.
FalStorage
fal.ai CDN — uploads via fal’s signed-token storage flow.
key_ref names a keyring key holding the fal API key.
endpoint overrides the REST base (default https://rest.alpha.fal.ai).
Trait Implementations§
Source§impl Clone for UploadDestination
impl Clone for UploadDestination
Source§fn clone(&self) -> UploadDestination
fn clone(&self) -> UploadDestination
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UploadDestination
impl Debug for UploadDestination
Source§impl<'de> Deserialize<'de> for UploadDestination
impl<'de> Deserialize<'de> for UploadDestination
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UploadDestination
impl RefUnwindSafe for UploadDestination
impl Send for UploadDestination
impl Sync for UploadDestination
impl Unpin for UploadDestination
impl UnsafeUnpin for UploadDestination
impl UnwindSafe for UploadDestination
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