pub struct FormMetadata { /* private fields */ }Expand description
Metadata for a deployed form
Implementations§
Source§impl FormMetadata
impl FormMetadata
Sourcepub fn form_id(&self) -> &str
pub fn form_id(&self) -> &str
Returns the unique identifier for the form.
§Returns
A string slice representing the form’s unique identifier.
Sourcepub fn resource_name(&self) -> &str
pub fn resource_name(&self) -> &str
Returns the name of the resource file from which this form was deployed.
§Returns
A string slice representing the resource file name.
Trait Implementations§
Source§impl Clone for FormMetadata
impl Clone for FormMetadata
Source§fn clone(&self) -> FormMetadata
fn clone(&self) -> FormMetadata
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FormMetadata
impl RefUnwindSafe for FormMetadata
impl Send for FormMetadata
impl Sync for FormMetadata
impl Unpin for FormMetadata
impl UnwindSafe for FormMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request