pub struct TagMetadata {
pub tag: String,
pub min_value: f32,
pub max_value: f32,
pub prompt_name: String,
}Expand description
Metadata for a tag
Fields§
§tag: StringTag name (e.g. “/Quality/Drawing”)
min_value: f32Minimum tag value
max_value: f32Maximum tag value
prompt_name: StringUser friendly name for the tag (e.g. “drawing quality”)
Trait Implementations§
Source§impl Clone for TagMetadata
impl Clone for TagMetadata
Source§fn clone(&self) -> TagMetadata
fn clone(&self) -> TagMetadata
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 moreSource§impl Debug for TagMetadata
impl Debug for TagMetadata
Auto Trait Implementations§
impl Freeze for TagMetadata
impl RefUnwindSafe for TagMetadata
impl Send for TagMetadata
impl Sync for TagMetadata
impl Unpin for TagMetadata
impl UnwindSafe for TagMetadata
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