pub struct SignedUrlBuildRequest<'a> {
pub base_url: &'a str,
pub path_prefix: &'a str,
pub slug: &'a str,
pub agent_id: &'a str,
pub conversation_id: &'a str,
pub expires_at: u64,
pub secret: &'a str,
pub sig_length: usize,
}Expand description
Input for generating a signed URL in native Rust consumers.
Fields§
§base_url: &'a strBase API origin such as https://api.example.com.
path_prefix: &'a strOptional resource path prefix such as attachments.
slug: &'a strDocument slug.
agent_id: &'a strAgent that is granting access.
conversation_id: &'a strConversation scope.
expires_at: u64Expiration timestamp in milliseconds.
secret: &'a strSigning secret.
sig_length: usizeSignature length in hex characters.
Auto Trait Implementations§
impl<'a> Freeze for SignedUrlBuildRequest<'a>
impl<'a> RefUnwindSafe for SignedUrlBuildRequest<'a>
impl<'a> Send for SignedUrlBuildRequest<'a>
impl<'a> Sync for SignedUrlBuildRequest<'a>
impl<'a> Unpin for SignedUrlBuildRequest<'a>
impl<'a> UnsafeUnpin for SignedUrlBuildRequest<'a>
impl<'a> UnwindSafe for SignedUrlBuildRequest<'a>
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