pub fn new_as_create_with_random_name(rnd: &mut Hc128Rng) -> Self {
        let length = rnd.gen_range(5, 20);

        Payload::new_as_create(
            rnd.sample_iter(&Alphanumeric)
                .take(length)
                .collect::<String>()
                .as_str(),
        )
    }
/// Creates a Payload initialized with Action::CREATE and a randomly
/// generated name.
Creates a Payload initialized with Action::CREATE and a randomly
generated name.
Creates a Payload initialized with Action :: CREATE and a randomly generated name .
pub fn new_as_create_with_random_name(rnd: &mut Hc128Rng) -> Self {
        let length = rnd.gen_range(5, 20);
        Payload::new_as_create(
            rnd.sample_iter(&Alphanumeric)
                .take(length)
                .collect::<String>()
                .as_str(),
        )
    }
pub fn new_as_create_with_random_name ( rnd : & mut Hc128Rng ) -> Self { let length = rnd . gen_range ( 5 , 20 ) ; Payload :: new_as_create ( rnd . sample_iter ( & Alphanumeric ) . take ( length ) . collect :: < String > ( ) . as_str ( ) , ) }
Creates a Payload initialized with Action::CREATE and a randomly
generated name.
Creates a Payload initialized with Action :: CREATE and a randomly generated name .
rnd
&mut Hc128Rng
rnd
&mut Hc128Rng